colobot/test/cbot
AbigailBuccaneer ea64edaa0b Compile with -Wmissing-declarations
-Wmissing-declarations enforces that every function (except for static
functions) must be declared separately before it's defined. This
essentially enforces that every function must be either static, or
declared in a header elsewhere.

This helps the optimizer, as it can do a better job of inlining if it
knows that a function won't be used outside of a given file. It also
helps -Wunused-function (which is enabled by -Wall) find more unused
functions.

Note that Clang spells this option -Wmissing-prototypes, which
confusingly is the name of a related but different warning option under
GCC.
2018-04-21 16:49:27 +01:00
..
CMakeLists.txt CBot compiled instruction graphs; some code cleanup 2015-12-27 16:51:57 +01:00
compile_graph.cpp Update license headers 2018-04-20 02:08:50 +02:00
console.cpp Compile with -Wmissing-declarations 2018-04-21 16:49:27 +01:00