disable offsetof warning on clang
This commit is contained in:
parent
caf3ee350b
commit
2f63718eb7
1
Jamfile
1
Jamfile
|
@ -492,6 +492,7 @@ local usage-requirements =
|
||||||
# disable some warnings for gcc
|
# disable some warnings for gcc
|
||||||
<toolset>gcc:<cflags>-fno-strict-aliasing
|
<toolset>gcc:<cflags>-fno-strict-aliasing
|
||||||
<toolset>gcc:<cflags>-Wno-missing-braces
|
<toolset>gcc:<cflags>-Wno-missing-braces
|
||||||
|
<toolset>clang:<cflags>-Wno-invalid-offsetof
|
||||||
<boost>system:<cxxflags>$(CXXFLAGS)
|
<boost>system:<cxxflags>$(CXXFLAGS)
|
||||||
<boost>system:<linkflags>$(LDFLAGS)
|
<boost>system:<linkflags>$(LDFLAGS)
|
||||||
# this works around a bug in asio in boost-1.39
|
# this works around a bug in asio in boost-1.39
|
||||||
|
|
Loading…
Reference in New Issue