From d99267e488825821278a02259a179a83ca527d7c Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Wed, 25 Nov 2015 14:26:02 +0100 Subject: [PATCH] Disabled "unknown pragma" warning in MSVS2010. --- accommodation/accommodation.pro | 4 ++++ application/application.pro | 4 ++++ core/core.pro | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/accommodation/accommodation.pro b/accommodation/accommodation.pro index eba0263..f90f628 100644 --- a/accommodation/accommodation.pro +++ b/accommodation/accommodation.pro @@ -33,6 +33,10 @@ unix { QMAKE_CXXFLAGS += -Wno-unknown-pragmas } +win32 { + QMAKE_CXXFLAGS += -wd4995 -wd4068 +} + win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore diff --git a/application/application.pro b/application/application.pro index bef3e3f..5333ecb 100644 --- a/application/application.pro +++ b/application/application.pro @@ -31,6 +31,10 @@ unix { QMAKE_CXXFLAGS += -Wno-unknown-pragmas } +win32 { + QMAKE_CXXFLAGS += -wd4995 -wd4068 +} + win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore diff --git a/core/core.pro b/core/core.pro index a947272..14183f3 100644 --- a/core/core.pro +++ b/core/core.pro @@ -63,6 +63,10 @@ unix { QMAKE_CXXFLAGS += -Wno-unknown-pragmas } +win32 { + QMAKE_CXXFLAGS += -wd4995 -wd4068 +} + ODB_FILES = core/data/core-data.h H_DIR = $$PWD/data/*.h