Subject: [ggl] Headers order (was: problems with Boost Geometry Xcode compile?)
From: Mateusz Loskot (mateusz)
Date: 2010-03-12 23:26:13
Bruno Lalande wrote:
>> Quick test with GCC shows that even if I really want to be C++ purist,
>> I'm being offered with pile of unrelated garbage:
>> #include <iostream>
>> #ifdef _GNU_SOURCE
>> #error _GNU_SOURCE
> Note that there's nothing wrong here, since leading underscores
> followed by an uppercase letter are reserved to the implementation,
> according to the standard. Quoted from the standard:
> * Each name that contains a double underscore (_ _) or begins with an
> underscore followed by an uppercase letter (2.11) is reserved to the
> implementation for any use.
> * Each name that begins with an underscore is reserved to the
> implementation for use as a name in the global namespace.165
> Which explains why the STL is so full of horrible and unreadable
> variable names :-)
Yes, I am aware of this definition.
However, what I wanted to point at is that even if I don't ask
for POSIX or C99 features, I get them anyway.
-- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org
Geometry list run by mateusz at loskot.net