Can I comment out a GTY variable?

Geoffrey Keating geoffk@geoffk.org
Tue Apr 19 00:20:00 GMT 2005


"H. J. Lu" <hjl@lucon.org> writes:

> I am trying to comment out
> 
> static GTY (()) int foo = 0;
> 
> with
> 
> #if 0
> static GTY (()) int foo = 0;
> #endif
> 
> But I got an error saying something like
> 
> ./gt....h:44: error: foo undeclared here (not in a function)
> 
> Is that expected? How can I comment it out?

Yes.  You can't.  Why do you want to?



More information about the Gcc mailing list