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


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

Re: Checking patch


Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de> writes:

|>> gencheck.c uses an ANSI concatenation character (#).

|> It doesn't really need concatenation, but stringification, to built
|> "VAR_DECL" when given VAR_DECL. Is this also an ANSI-only feature,
|> and if so, what is the work-around?

#ifndef __STDC__
#define STR(x) "x"
#endif

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org


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