29 Jul
2014
29 Jul
'14
12:18 p.m.
On Tue, Jul 29, 2014 at 4:12 PM, Niall Douglas
I don't believe I do anything special here. Moreover I wasn't seeing this warning spew on Boost 1.55 with identical code.
Here is what Jamfile sets:
<toolset>clang:<cxxflags>"-std=c++0x -fvisibility-inlines-hidden -fstrict-aliasing -Wstrict-aliasing -Wno-unused -Wno-mismatched-tags -fvisibility=hidden -fopenmp -fasynchronous-unwind-tables"
Unless I'm missing something, C++11 includes C99 preprocessor (variadic macros, at least). So I don't see why these warnings should be emitted. A compiler bug perhaps?