[LLVMbugs] [Bug 9155] New: NDEBUG is defined in debug configuration for Visual Studio projects
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Feb 6 10:01:01 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9155
Summary: NDEBUG is defined in debug configuration for Visual
Studio projects
Product: Build scripts
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: cmake
AssignedTo: unassignedbugs at nondot.org
ReportedBy: art.oriented at gmail.com
CC: llvmbugs at cs.uiuc.edu
I generated Visual Studio 2010 projects from cmake. However, I've found that
NDEBUG is defined in the debug configurations. Note that all other release
configurations also have this NDEBUG define.
So, we can't correctly use DEBUG macro in "Support\Debug.h". Even in the debug
configuration, DEBUG macro did not expand as in an optimized build
configuration.
It is very tedious to delete NDEBUG defines in every project files. Could you
resolve by fixing CMake configuration?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list