Re: Macro expansion: GCC 3.4.4

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

 



Hi Nick,

NCR is not a symbol.  It is part of a preprocessor directive.

Use:
int const NCR = 4; // internal linkage
...or...
extern int const NCR = 4; // external linkage

Then it is a symbol.  (This should work in C++98, I'm not sure about C99.)

HTH,
--Eljay


[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