Locking down compile flags (/TC vs. /TP)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi.

I've recently imported a new project for me into the MS VC++ IDE (vc7,
..NET 2003).

There are a couple of different directories for libraries. Some of the
files need compiling with /TC and some need compiling with /TP.

For reasons unknown to me, the IDE is often appending /TP to the
compile command line, even after I use the properties sheet to delete
it. After I do a build, the /TP is back again and I'm having a problem
locking down each file to the way I know it needs to compile.

Are there other settings in a configuration which cause /TP to be
appended even when I have specified 'Compile as C Code (/TC)' in the
Advanced sheet?

The IDE seems to have a mind of it's own! I'm relatively new to the VS
IDE, so I may be overlooking something obvious to a more experienced
driver. I'd appreciate any insight into how I can lock down my flags.

Also, is there command that will allow me to examine a library file and
determine the calling convention it was compiled with?

Thanks to anyone who can guide me here :^).

.



Relevant Pages

  • Re: Using Lattice ispLEVER with VHDL libraries
    ... I am assuming there are some advantages to using the IDE rather than ... I also can't see to get Modelsim to work with ispLever, ... You will have to read about the tool you use to specify compile ... user defined libraries to get things to go under ispLever. ...
    (comp.arch.fpga)
  • Re: Compile errors in VB6 running in VirtualPC
    ... using the "Shared Folders" functionality of VirtualPC. ... Trying to open VB6 projects would fail with "Path not found ... The VB6 IDE could now open and compile ...
    (microsoft.public.vb.com)
  • Re: Compile errors in VB6 running in VirtualPC
    ... using the "Shared Folders" functionality of VirtualPC. ... Trying to open VB6 projects would fail with "Path not found ... The VB6 IDE could now open and compile ...
    (microsoft.public.vb.com)
  • Re: Problem with VB crashing
    ... They compile without any problem - and ... I still also have the weird problem where I can only run reports ... with Crystal if I'm running in the IDE, ... inconvenient, but I can live with it since it only affects me. ...
    (microsoft.public.vb.general.discussion)
  • Re: Odd problem with Visual Studio
    ... > If I launch one copy of the IDE, then I can usually compile the project at ... > sharing a couple of the assemblies. ... I did locate one circular reference that ...
    (microsoft.public.dotnet.languages.csharp)