[Bug c++/30348] '#define false FALSE' undefines '#define FALSE false'

pinskia at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 1 23:38:00 GMT 2007



------- Comment #4 from pinskia at gmail dot com  2007-01-01 23:37 -------
Subject: Re:  '#define false FALSE' undefines '#define FALSE
        false'

On Mon, 2007-01-01 at 22:43 +0000, h8_spam at sonic dot net wrote:
> Right, but since true and false are keywords, I would expect the
> #define true
> TRUE and false FALSE to be no-ops.


How?  Preprocessing happens before tokenazation happens.

-- Pinski


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30348



More information about the Gcc-bugs mailing list