On Mon, 29 Aug 2011, Weddington, Eric wrote:
For the preprocessor purposes, I would bet that somehow "last" evaluates to 0, so of course the condition will always be true.
Yes, I think this is part of the language standard (for better or worse). I don't have a standard cite but it's described in the GNU docs:
http://gcc.gnu.org/onlinedocs/gcc-3.0.1/cpp_4.html#SEC38 "[6] Identifiers that are not macros, which are all considered to be the number zero. [....]" _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list