This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC] Are variadic macros forbidden?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]