[Spatialindex] Namespace use request
Mateusz Loskot
mateusz at loskot.net
Wed Oct 21 01:58:03 EEST 2009
Marios Hadjieleftheriou wrote:
> There is no standard header in windows that defines these types?
There is not such header shipped with Visual C++.
The uint*_t/int*_t definitions are part of C99 extension to C standard.
Visual C++ does not support C99.
> If we simply move the typedefs inside the SpatialIndex namespace,
> would that fix the problem?
Yes, as every user-defined types should be defined in dedicated
namespace but not in the global namespace.
Then clients of a library can decide what and how they want to use
without being forced to stick to types polluting global namespace.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
More information about the Spatialindex
mailing list