View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000966CMakepublic2004-07-01 07:142004-07-14 16:26
ReporterPaul Smyth 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000966: VC7.1 Generator makes Wrong Compiler Flags
DescriptionThe VC7.1 (.NET 2003) generator doesn't completely convert compiler flags from e.g. CXX_FLAGS_RELEASE to variables in the vcproj file that the Dev Environment will understand. This can result in conflicting or wrong compiler flags sent to the compiler.
TagsNo tags attached.
Attached Filesdiff file icon cmLocalVisualStudio7Generator.cxx.diff [^] (20,840 bytes) 1969-12-31 19:00 [Show Content]
diff file icon cmLocalVisualStudio7Generator.h.diff [^] (903 bytes) 1969-12-31 19:00 [Show Content]

 Relationships

  Notes
(0001228)
Paul Smyth (reporter)
2004-07-01 09:36

I've attached patches to fix this - and convert the compiler flags (and some linker flags) into parameters that the dev environment understands.

(0001265)
Bill Hoffman (manager)
2004-07-14 11:55

I don't think your patch is correct. The command line options seem to be case sensitive. For example:
/ZI and /Zi mean something different. I am working on incorporating your changes in a bit of a rework, but the case will have to match the documentation found in cl /help for the flags.

-Bill
(0001268)
Bill Hoffman (manager)
2004-07-14 16:26

I have changed the implementation in cvs to better use the command line options. Please try it and let me know if it works for you. As I mentioned, it is not case insensitive as there serveral flags that are differentiated by case in cl. This is too big a fix for 2.0, but should be in 2.2.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team