This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Macro does not compile.
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: Macro does not compile.
- From: clive at emultek dot co dot il
- Date: Mon, 14 Jun 1999 16:50:34 +0200
The following 'simple' macro does not compile(ver 2.91.66). It compiles on
every other compiler I have tried it on.
#define DECLARE_CLASS(n) \
class MyClass##n \
{ \
public: \
MyClass##n (int i); \
~MyClass##n (void); \
private: \
char *_dum; \
};
DECLARE_CLASS(10)
DECLARE_CLASS(11)