On sexta-feira, 10 de janeiro de 2014 13:47:34, Koehne Kai wrote: > So, I'm wondering, can anybody check for the Intel compiler whether it cares > about the C++ standard when it comes to variadic macros? If not, do we > still support toolchains that do not handle variadic macros?
It's supported in C++98 mode too. $ icc -E -xc++ -std=c++98 - <<<'#define foo(x, ...) bar(x, __VA_ARGS__) foo(1) foo(1, 2) foo(1,2,3)' # 1 "-" bar(1, ) bar(1, 2) bar(1, 2,3) Since at least 13.0, but it dates from way before. I don't have older compilers installed to check. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
