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

List:       kde-commits
Subject:    Re: kdesdk/scripts
From:       Michael Matz <matz () kde ! org>
Date:       2002-04-22 14:09:10
[Download RAW message or body]

Hi,

On Mon, 22 Apr 2002, Rolf Magnus wrote:

> > Don't have the final C++ Standard here, but the draft says in 2.6.2 (and
> > this is still valid in the final version):
> >
> > [...] identifiers containing a double underscore (__) or beginning with an
> > underscore and an upper-case letter are reserved for use by C++
> > implementations and standard libraries and shall not be used otherwise; no
> > diagnostic is required.
>
> But isn't a #define a preprocessor macro rather than an identifier?

Doesn't matter.  If you #define away __bla, and __bla happens to be used
by C++, as permitted, you are in trouble.  I.e. don't use __* anywhere.


Ciao,
Michael.

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

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