代码拉取完成,页面将自动刷新
*-g++* {
NORMAL_CFLAGS = -Wno-long-long
win32-g++ {
NORMAL_CFLAGS += -U__STRICT_ANSI__
}
NORMAL_CXXFLAGS = \
-Wnon-virtual-dtor -Wundef -Wcast-align \
-Wchar-subscripts -Wpointer-arith \
-Wwrite-strings -Wformat -Wformat-security \
-Wmissing-format-attribute -Woverloaded-virtual -std=c++11
# -Wconversion gives too many warnings from Qt-4.4.3 with gcc-4.3.2 (was fine with gcc-4.2.4), so removing it
# Qt-4.2 has tools/designer/src/lib/uilib/ui4_p.h:263: error: comma at end of enumerator list
!contains($$list($$[QT_VERSION]), 4.2.*) {
NORMAL_CFLAGS += -pedantic
}
# Increase the debugging level from Qt's default
CONFIG(debug, debug|release) {
NORMAL_CXXFLAGS += -O0 -g3
NORMAL_CXXFLAGS -= -g
}
USABLE_CXXFLAGS = -Wold-style-cast
HARD_CXXFLAGS = -Weffc++ -Wshadow
PITA_CXXFLAGS = -Wunreachable-code
QMAKE_CFLAGS += $$NORMAL_CFLAGS
QMAKE_CXXFLAGS += $$NORMAL_CFLAGS $$NORMAL_CXXFLAGS
kdab:QMAKE_CFLAGS_WARN_ON += $$NORMAL_CFLAGS -Werror
kdab:QMAKE_CXXFLAGS_WARN_ON += $$NORMAL_CFLAGS $$NORMAL_CXXFLAGS -Werror
#QMAKE_CXXFLAGS_WARN_ON += $$USABLE_CXXFLAGS
#QMAKE_CXXFLAGS_WARN_ON += $$HARD_CXXFLAGS # headers must compile with this, code doesn't need to; needs patched Qt
#QMAKE_CXXFLAGS_WARN_ON += $$PITA_CXXFLAGS # header would be nice, but it's probably pointless, due to noise from Qt and libstdc++
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。