ignored warning for unknown pragmas on linux

This commit is contained in:
Paolo Cignoni 2017-03-04 23:19:28 +01:00
parent 860ef394cc
commit 07b8d258ba
2 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,8 @@ linux-g++-32:DESTDIR = ../distrib
linux-g++-64:CONFIG += dll
linux-g++-64:DESTDIR = ../distrib
linux-g++:QMAKE_CXXFLAGS+=-Wno-unknown-pragmas
win32-msvc2005:CONFIG += staticlib
win32-msvc2008:CONFIG += staticlib
win32-msvc2010:CONFIG += staticlib

View File

@ -20,3 +20,4 @@ MACLIBDIR = ../../external/lib/macx64
# the following line is needed to avoid mismatch between
# the awful min/max macros of windows and the limits max
win32:DEFINES += NOMINMAX
linux-g++:QMAKE_CXXFLAGS+=-Wno-unknown-pragmas