Disable SCASSERT function if debugging is not set.

--HG--
branch : develop
This commit is contained in:
dismine 2014-12-24 11:54:56 +02:00
parent 1200086bb8
commit 955b0148e9
3 changed files with 3 additions and 3 deletions

View File

@ -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
}

View File

@ -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
}

View File

@ -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) \