Re: Passing an address to a #define in C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gus,
However, it seems like it only works in GCC if goto(label1) instruction is
used... Is there any other way to do this?


you might want to have a look at this online doc about label-as-values:

http://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html

If I remember correctly, this is not part of an official standard (except the GNU C standard), so the portability of your code might decrease.

Best regards,
Andi




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux