[Insight-developers] Who defines GNU_LIBSTDCXX_V3?
Bill Hoffman
bill.hoffman at kitware.com
Wed Sep 27 09:45:33 EDT 2000
I have talked to the vnl folks about this. They have found
the V3 libstdc++ to be incomplete and buggy. They have made
changes to vnl that make it work, but I have not incorporated those
changes into Insight yet. So, for now I would not go out of your
way to install the V3 library. Use the library that is bundled with
gcc 2.9.5 and everything should work.
-Bill
At 04:11 PM 9/25/00 -0400, Paul Hughett wrote:
>I am trying to compile Insight with gcc 2.95.2 and gnu libstdc++
>2.90.8 but the compilation fails when it tries to find the header file
>vector.h. When I look at the relevant code (e.g. in vcl_vector.h), it
>tries to include <vector> if the macro GNU_LIBSTDCXX_V3 is defined but
><vector.h> if it isn't. (I have simplified the logic somewhat.) Now
>this macro should presumably be defined if gnu libstdc++ v3 is
>installed and gnu libstdc++ 2.90.8 advertises itself as v3.
>Nevertheless, GNU_LIBSTDCXX_V3 is never--as far as I can tell--defined
>anywhere in the libstdc++ headers or in the configure scripts for
>Insight.
>
>So--have I correctly understood what GNU_LIBSTDCXX_V3 should mean? Then
>why is it never defined? Where should it be defined?
>
>Paul Hughett
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers at public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers
More information about the Insight-developers
mailing list