Apply -Wno-unused-local-typedefs for gcc only.

Change-Id: I098882ea1c1a3f5265a763046400d79aed8eb43f
This commit is contained in:
Dominik Riebeling 2015-03-25 22:00:23 +01:00
parent 9ecfe6151b
commit 09a25deeea

View file

@ -166,7 +166,7 @@ dbg {
DEFINES += RBUTIL _LARGEFILE64_SOURCE
# check version of Qt installation
!contains(QT_MAJOR_VERSION, 5):!macx:!*-msvc* {
!contains(QT_MAJOR_VERSION, 5):!macx:linux-g++* {
# suppress warnings in Qt 4.8 shown by gcc 4.8
QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
}