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]
Other format: [Raw text]

Can I comment out a GTY variable?


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?


H.J.


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