Skip to content

Commit

Permalink
Skip the include headers warnings
Browse files Browse the repository at this point in the history
This avoids the warnings e.g., from FMILibrary. However, this still shows the warnings of OMEdit.
  • Loading branch information
adeas31 committed Oct 8, 2019
1 parent 8730c27 commit 83d0207
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion OMEdit/OMEdit/OMEditGUI/OMEditGUI.pro
Expand Up @@ -123,6 +123,11 @@ win32 {
}
}

# Don't show the warnings from included headers.
for (path, INCLUDEPATH) {
QMAKE_CXXFLAGS += -isystem $${path}
}

SOURCES += main.cpp \
Util/Helper.cpp \
Util/Utilities.cpp \
Expand Down Expand Up @@ -362,7 +367,7 @@ OTHER_FILES += Resources/css/stylesheet.qss \
CONFIG += warn_on
# Only disable the unused variable/function/parameter warning
win32 {
QMAKE_CXXFLAGS += -Wno-clobbered -Wno-unused-variable -Wno-unused-function -Wno-unused-parameter
QMAKE_CXXFLAGS += -Wno-clobbered
}

RESOURCES += resource_omedit.qrc
Expand Down

0 comments on commit 83d0207

Please sign in to comment.