[vtk-developers] PREPENDING extra compiler flags?!?!

Bill Hoffman bill.hoffman at kitware.com
Tue Jan 23 15:30:23 EST 2001


The trick would be to edit getclasses.cxx and rebuild pcmaker.  I don't
see what harm would be done if the those flags were first all the time.

-Bill


At 02:38 PM 1/23/2001 -0500, Volpe, Christopher R (CRD) wrote:
>I have a vtk class that compiles against a vendor-supplied API which includes their own version of
>the Standard Template Library which I must use. This did not cause trouble until I upgraded our
>development platform from MS Visual C++ 5.0 to MS Visual C++ 6.0. Apparently 6.0 includes their own
>version of the STL as well. Since I add the include directive for the Vendor's STL in the "Extra
>Compiler Flags" section of pcmaker, and since pcmaker puts these after the include directive for
>MSVC++, Microsoft's STL takes precedence, preventing me from compiling the other vendor's header
>files. I need to be able to specify extra compiler flags that are PREPENDED rather than APPENDED to
>the automatically-generated flags. So, I'm wondering if anyone knows of any "trick" that might
>relieve the burden of my having to edit the outputted Makefile after every pcmaker run and change the
>order of the "/I" directives (which does in fact work).
>
>Any ideas?
>
>thanks,
>
>Chris
>> g GE Corporate Research & Development 
>> ___________________________________________________________________________________________________
>> _______________________________________________
>> 
>Christopher R. Volpe
>Computer Scientist
>Visual Information Program
>Bldg KW, Room C215
>P.O. Box 8, Schenectady, NY 12301
>
>(518) 387-7766, Dial Comm: 8*833-7766, Fax: (518) 387-6981
>e-mail: volpecr at crd.ge.com    web: http://www.crd.ge.com/~volpecr
>
>
>
>
>_______________________________________________
>vtk-developers mailing list
>vtk-developers at public.kitware.com
>http://public.kitware.com/mailman/listinfo/vtk-developers 





More information about the vtk-developers mailing list