[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Some EBN fixes
From:       David Faure <faure () kde ! org>
Date:       2007-06-04 20:54:57
Message-ID: 200706042254.58345.faure () kde ! org
[Download RAW message or body]

On Wednesday 16 May 2007, Nicolas Lécureuil wrote:
> +# define true  1
> +# define false 0

Probably a very bad idea.

Real C++ code should use true and false instead of TRUE and FALSE, yes.
But code that uses #define to define them (I suppose this is for C code), should
keep using uppercase - to make it clear those are macros.
Better add a krazy ignore command instead.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic