mirror of
https://github.com/boostorg/build.git
synced 2026-02-17 13:42:14 +00:00
Define the warnings for the new set of options.
This avoids warnings=all and warnings-as-errors=on causing irreprerable damage to humans. And makes it possible to have more warnings without destorying the universe. fixes #394
This commit is contained in:
@@ -712,7 +712,9 @@ toolset.flags gcc.compile OPTIONS <inlining>full : -finline-functions -Wno-inlin
|
|||||||
|
|
||||||
toolset.flags gcc.compile OPTIONS <warnings>off : -w ;
|
toolset.flags gcc.compile OPTIONS <warnings>off : -w ;
|
||||||
toolset.flags gcc.compile OPTIONS <warnings>on : -Wall ;
|
toolset.flags gcc.compile OPTIONS <warnings>on : -Wall ;
|
||||||
toolset.flags gcc.compile OPTIONS <warnings>all : -Wall -pedantic ;
|
toolset.flags gcc.compile OPTIONS <warnings>all : -Wall ;
|
||||||
|
toolset.flags gcc.compile OPTIONS <warnings>extra : -Wall -Wextra ;
|
||||||
|
toolset.flags gcc.compile OPTIONS <warnings>pedantic : -Wall -Wextra -pedantic ;
|
||||||
toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
|
toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
|
||||||
|
|
||||||
toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
|
toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
|
||||||
|
|||||||
Reference in New Issue
Block a user