View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015583CMakeCMakepublic2015-05-23 20:382015-11-02 09:15
Reporterovz 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 3.2.2 
Target VersionCMake 3.3Fixed in VersionCMake 3.3 
Summary0015583: Windows-Intel-Fortran.cmake does not disable optimization in CMAKE_Fortran_FLAGS_DEBUG_INIT
DescriptionIn

C:\Program Files (x86)\CMake\share\cmake-3.2\Modules\Platform\Windows-Intel-Fortran.cmake

I see

set (CMAKE_Fortran_FLAGS_DEBUG_INIT "/debug:full /dbglibs")
set (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "/O1 /D NDEBUG")
set (CMAKE_Fortran_FLAGS_RELEASE_INIT "/O2 /D NDEBUG")

As a result in my .vfproj I get /O2 in Debug mode.

I believe it should be

set (CMAKE_Fortran_FLAGS_DEBUG_INIT "/Od /debug:full /dbglibs")
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038802)
Brad King (manager)
2015-05-26 10:27

Yes, thanks!

Intel: Disable Fortran optimizations for Debug config on Windows
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bd2ef44b [^]
(0039824)
Robert Maynard (manager)
2015-11-02 09:15

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-05-23 20:38 ovz New Issue
2015-05-26 10:27 Brad King Note Added: 0038802
2015-05-26 10:27 Brad King Assigned To => Brad King
2015-05-26 10:27 Brad King Status new => resolved
2015-05-26 10:27 Brad King Resolution open => fixed
2015-05-26 10:27 Brad King Fixed in Version => CMake 3.3
2015-05-26 10:27 Brad King Target Version => CMake 3.3
2015-11-02 09:15 Robert Maynard Note Added: 0039824
2015-11-02 09:15 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team