View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000096 | CMake | public | 2003-07-25 04:48 | 2004-04-16 08:01 | |||||
Reporter | Petr Ferschmann | ||||||||
Assigned To | |||||||||
Priority | low | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000096: Warning level in MSVC 7.0 | ||||||||
Description | There is variable that can be used for setting warning level (CMAKE_CXX_WARNING_LEVEL). But default values of CMAKE_CXX_FLAGS contains /W3 (defined in Modules/Platform/Windows-cl.cmake). I think the /W3 option should not be defined in Windows.cl.cmake at all. Now when I descrease warning level, there are both options (/W2 and /W3) and it prints "overriding /W2 with /W3". So CMAKE_CXX_WARNING_LEVEL is not usable at all. I need to descrease it because we use exceptions and it prints that exceptions are not supported. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0000082) Bill Hoffman (manager) 2003-08-07 09:31 |
This is a bit tricky to fix the flag CMAKE_CXX_WARNING_LEVEL is only used by the visual studio 7 ide generator. The /W3 is added to the cxx flags by the Platform/Windows-cl.cmake file that is used by nmake and visual stuido 6. What we really need is an abstraction of warnings in CMake. CMAKE_CXX_WARNING_LEVEL (1-10), and this gets mapped onto each compiler differently. |
(0000897) Bill Hoffman (manager) 2004-04-16 08:01 |
This has been fixed.CMAKE_CXX_WARNING_LEVEL now works for visual studio 7. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |