[Gdal-dev] Re: Using GDAL in Linux ANSI C

Mateusz Loskot mateusz at loskot.net
Mon Sep 25 16:02:28 EDT 2006


Frank Warmerdam wrote:
> Marc Lepage wrote:
>> Is GDAL C code wrapped in C++, or C++ code wrapped in C? I'm curious
>> about which way it goes and the issues involved. I've typically wrapped
>> C with C++, but these days it seems more projects are going the other
>> way.
> 
> Marc,
> 
> GDAL is C++ code with a C wrapper.  Some folks might also feel the need
> to point out that my C++ code is more like "C with classes" than true
> modern
> C++. :-)

Frank,

If GDAL is compiled with C++ compiler, then it's a correct C++ code.
No doubts.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list