[Gdal-dev] Any possibility of static compile?

Curt, WE7U archer at eskimo.com
Tue Dec 5 16:22:23 EST 2006


On Tue, 5 Dec 2006, Curt, WE7U wrote:

> Hopefully it's just a C++ syntax error?  This is gdal-1.3.2b2 I'm
> working with, and the bit of code is:
>
>
>     catch (exception *) {

Sorry, the original code had no space between "exception" and "*".

I replaced it with this, stolen from somewhere else in the GDAL
code:

    catch (const std::exception &e) {

It gets further into the compile now.  Is the change correct?

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Gdal-dev mailing list