use checked STL in debugmode
This commit is contained in:
parent
6084a5a061
commit
a57af3b3e9
|
@ -29,6 +29,11 @@ win32 {
|
|||
# These flags are used in original (not generated by QMake) makefiles
|
||||
contains(QMAKE_CXX, g++) {
|
||||
QMAKE_CXXFLAGS_WARN_ON += -Wextra -pedantic
|
||||
|
||||
CONFIG(debug, debug|release) {
|
||||
# checked STL
|
||||
DEFINES += _GLIBCXX_DEBUG
|
||||
}
|
||||
}
|
||||
|
||||
# Change Visual Studio compiler (CL) warning level to W4
|
||||
|
|
|
@ -39,3 +39,14 @@ win32 {
|
|||
CONFIG += console
|
||||
LIBS += -lshlwapi
|
||||
}
|
||||
|
||||
contains(QMAKE_CXX, g++) {
|
||||
QMAKE_CXXFLAGS_WARN_ON += -Wextra -pedantic
|
||||
|
||||
CONFIG(debug, debug|release) {
|
||||
# checked STL
|
||||
DEFINES += _GLIBCXX_DEBUG
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue