Add warnings to building with GCC/Clang.
author Naram Qashat
()
committer Naram Qashat
()
commit b6d1fc539aba3730fc4f3f5d0846a64f49ffda91
tree 889e1d8dbf9aa45e74e03c5aff589f2d21d53bcf
parent 47760c9ad88b28e23bebcc692b0251f42accb744
Add warnings to building with GCC/Clang.

* These were mostly copied from the old Makefile.
* The files including wxWidgets need -Wno-old-style-cast done in the code via pragmas because I do not want to disable that warning for the rest of the files. (It might've been overkill for some places where wxWidgets was included, but whatever.)
20 files changed:
src/in_2sf/CMakeLists.txt
src/in_2sf/XSFConfigDialog_2SF.cpp
src/in_2sf/XSFConfigDialog_2SF.h
src/in_gsf/CMakeLists.txt
src/in_gsf/XSFConfigDialog_GSF.cpp
src/in_gsf/XSFConfigDialog_GSF.h
src/in_ncsf/CMakeLists.txt
src/in_ncsf/XSFConfigDialog_NCSF.cpp
src/in_ncsf/XSFConfigDialog_NCSF.h
src/in_ncsf/XSFConfig_NCSF.h
src/in_ncsf/XSFPlayer_NCSF.h
src/in_snsf/CMakeLists.txt
src/in_snsf/XSFConfigDialog_SNSF.cpp
src/in_snsf/XSFConfigDialog_SNSF.h
src/in_xsf_framework/CMakeLists.txt
src/in_xsf_framework/RegExValidator.cpp
src/in_xsf_framework/RegExValidator.h
src/in_xsf_framework/XSFConfig.cpp
src/in_xsf_framework/XSFConfigDialog.cpp
src/in_xsf_framework/XSFConfigDialog.h