On 1/08/2014 10:08, Niall Douglas wrote:
Ok, so solutions to stopping tens of megabytes of compiler warnings spew for a build of Boost 1.56 on clang are as follows:
1. Boost Build adds -Wno-c99-extensions and -Wno-variadic-macros to all clang builds.
2. All those libraries using -pedantic with Preprocessor (at least Chrono, Thread and Test) wrap their use of Preprocessor with #pragmas disabling the warnings.
3. All those libraries using -pedantic with Preprocessor (at least Chrono, Thread and Test) add -Wno-c99-extensions and -Wno-variadic-macros to all clang builds.
4. Those libraries currently using -pedantic stop doing so, at least for clang builds. (I don't know whether this is better or worse than any of the others, just that it's an option that wasn't listed.)