Commit ad38f57f authored by Laszlo Agocs's avatar Laszlo Agocs

Enable warning_clean

parent 20477e0a
load(qt_build_config)
# CONFIG += warning_clean
CONFIG += warning_clean
DEFINES += QT_NO_FOREACH
MODULE_VERSION = 5.12.0
INCLUDEPATH += $$PWD/VulkanMemoryAllocator
clang {
QMAKE_CFLAGS_WARN_ON += -Wno-unused-parameter -Wno-unused-variable -Wno-missing-field-initializers -Wno-tautological-compare
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
}
......@@ -58,6 +58,12 @@ mac {
include($$PWD/../3rdparty/VulkanMemoryAllocator.pri)
clang {
# this cannot be fixed, other compilers require that capture...
QMAKE_CFLAGS_WARN_ON += -Wno-unused-lambda-capture
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
}
include($$PWD/doc/doc.pri)
load(qt_module)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment