enable warnings on gcc too

This commit is contained in:
Arvid Norberg 2015-04-18 14:33:55 +00:00
parent 23536dcc42
commit d764e74f33
1 changed files with 6 additions and 0 deletions

View File

@ -242,6 +242,12 @@ rule warnings ( properties * )
result += <cflags>-Wno-disabled-macro-expansion ;
}
if <toolset>gcc in $(properties)
{
result += <cflags>-Wall ;
result += <cflags>-Wextra ;
}
if <toolset>msvc in $(properties)
{
# disable warning C4503: decorated name length exceeded, name was truncated