This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[RFC] Are variadic macros forbidden?
- From: Paolo Carlini <pcarlini at suse dot de>
- To: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 02 Feb 2005 15:11:45 +0100
- Subject: [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.