summaryrefslogtreecommitdiffstats
path: root/cmake/CompilerWarnings.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: Removed creation of MemberDef's for macro definitions from pre.lDimitri van Heesch2020-05-241-2/+2
|
* GNU compilation warningsalbert-github2020-05-111-2/+9
| | | | | Older GNU compilers, i.e. before version 7, don't know the option `-Wno-implicit-fallthrough`, so it is made compiler version dependent. (would have liked to use `VERSION_GREATER_EQUAL` but this is introduced in cmake 3.7)
* Fixed shadowing issue in getFortranDefs and other shadowing casesDimitri van Heesch2020-04-091-2/+2
|
* Fix C compiler warnings about C++ flags (#7636)Laurent Rineau2020-03-121-10/+12
| | | | | | | | | | | | | | | | * Fix C compiler warnings about C++ flags ``` cc1: warning: command line option ‘-Wnon-virtual-dtor’ is valid for C++/ObjC++ but not for C cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C ``` ... using the generator expression `$<COMPILE_LANGUAGE:CXX>`. * COMPILE_LANGUAGE is new in CMake 3.3 See https://cmake.org/cmake/help/v3.3/release/3.3.html * CMake 3.3 is required
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-0/+110