2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

Suppress fatal long long warning with gcc on Darwin.

When <warnings>all enabled, -pedantic from gcc.jam
turns on fatal long long warning.  Add -Wno-long-long
to darwin.jam to suppress fatal message.
This commit is contained in:
K. Noel Belcourt
2014-02-06 15:37:33 -07:00
parent 3116da2b95
commit 8dd176f683

View File

@@ -146,6 +146,8 @@ rule init ( version ? : command * : options * : requirement * )
{
flags darwin.compile OPTIONS $(condition) : -Wno-long-double ;
}
# - GCC on Darwin with -pedantic, suppress unsupported long long warning
flags darwin.compile OPTIONS $(condition)/<warnings>all : -Wno-long-long ;
# - Set the link flags common with the GCC toolset.
gcc.init-link-flags darwin darwin $(condition) ;