[Gdal-dev] Any possibility of static compile?

Curt, WE7U archer at eskimo.com
Thu Dec 7 11:35:40 EST 2006


On Wed, 6 Dec 2006, Mateusz Loskot wrote:

> >> catch (exception *) {
> >
> > I replaced it with this, stolen from somewhere else in the GDAL code:
> >
> > catch (const std::exception &e) {
>
> >From C++ point of view, yest, it's perfectly correct.
> It's not recommended, and it's not needed, to pass and catch
> standard exceptions by pointers.

So what should the fix be?  I can't get past that original bit of
code under the lsbcc front-end without changing something.

--
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