Em 17 de set de 2020, à(s) 23:09, Edward Diener via Boost
escreveu: On 9/15/2020 7:13 AM, Peter Dimov via Boost wrote:
Edward Diener wrote:
Which compilers will be affected?
Right now these compilers are considered by PP to not support variadic macros:
gccxml nvcc when cuda is being used PathScale Digital Mars and Symantec C++ bcc32 metrowerks sun/oracle C++ < version 5.12 ( current oracle C++ version is 12.6 ) HP aC++ when not using EDG MPW C++ PGI when not using EDG This doesn't sound that bad, as most of these compilers are dead, although I hope nvcc does support variadic macros nowadays.
I did discover that if gcc or clang is compiled at the C++03 level with -pedantic there will be a ton of warnings, and if with -pedantic-errros there will be a ton of errors for those warnings.
Don’t warning disabling pragmas *around preprocessor definitions* solve the issue? Joaquín M López Muñoz