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

Volpe, Christopher R (CRD) volpecr at crd.ge.com
Tue Jan 23 14:38:59 EST 2001


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







More information about the vtk-developers mailing list