[RFC] Are variadic macros forbidden?

Paolo Carlini pcarlini@suse.de
Wed Feb 2 14:09:00 GMT 2005


Hi,

a few days ago, only for a couple of hours I had variadic macros in my 
local tr1/type_traits... I wonder, how do we stand wrt that extension? 
Shall we do our best to avoid it?

Actually, I started reconsidering this issue, when I saw this patch:

    http://gcc.gnu.org/ml/gcc-patches/2005-01/msg02092.html

where Rth uses, in a testcase, a macro TEST in a way which, AFAIK, 
triggers warnings from the Icc preprocessor (for double, an empty second 
parameter)

Paolo.



More information about the Libstdc++ mailing list