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:
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user