This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c++/30348] '#define false FALSE' undefines '#define FALSE false'
- From: Andrew Pinski <pinskia at gmail dot com>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 01 Jan 2007 15:37:45 -0800
- Subject: Re: [Bug c++/30348] '#define false FALSE' undefines '#define FALSE false'
- References: <bug-30348-11590@http.gcc.gnu.org/bugzilla/> <20070101224335.15197.qmail@sourceware.org>
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