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: Is it possible to generate unique goto labels with preprocessor?


Anders Torger <torger@ludd.luth.se> writes:

> I'm making a hack which require a macro to generate goto labels (I can of 
> course provide the label as an argument to the macro, but that significantly 
> reduces the maintainability of the resulting code).

I guess it belongs more to gcc-help@ than gcc@, you're off topic.

As usual reading the documentation would have helped.

See the gcc manual: C Extensions: Local Labels.


-Andi


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