Disable SCASSERT function if debugging is not set.
--HG-- branch : develop
This commit is contained in:
parent
1200086bb8
commit
955b0148e9
|
@ -107,7 +107,7 @@ CONFIG(debug, debug|release){
|
|||
DEFINES += "LOC_REV=0"
|
||||
}else{
|
||||
# Release mode
|
||||
|
||||
DEFINES += V_NO_ASSERT
|
||||
!unix:*-g++{
|
||||
QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ CONFIG(debug, debug|release){
|
|||
|
||||
}else{
|
||||
# Release mode
|
||||
|
||||
DEFINES += V_NO_ASSERT
|
||||
!unix:*-g++{
|
||||
QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll
|
||||
}
|
||||
|
|
|
@ -59,7 +59,7 @@ static const quint32 null_id = 0;
|
|||
* 4. Continue to debug after failed assertion on Linux? [C/C++] -
|
||||
* https://stackoverflow.com/questions/1721543/continue-to-debug-after-failed-assertion-on-linux-c-c
|
||||
*/
|
||||
#ifndef QT_NO_DEBUG
|
||||
#ifndef V_NO_ASSERT
|
||||
#ifdef Q_OS_WIN32
|
||||
#ifdef Q_CC_MSVC
|
||||
#define SCASSERT(cond) \
|
||||
|
|
Loading…
Reference in New Issue
Block a user