GCC warnings.
--HG-- branch : release
This commit is contained in:
parent
39068847f5
commit
cabac6f3d0
|
@ -46,7 +46,7 @@
|
||||||
ConfigurationPage::ConfigurationPage(QWidget *parent)
|
ConfigurationPage::ConfigurationPage(QWidget *parent)
|
||||||
: QWidget(parent), autoSaveCheck(nullptr), autoTime(nullptr), langCombo(nullptr), labelCombo(nullptr),
|
: QWidget(parent), autoSaveCheck(nullptr), autoTime(nullptr), langCombo(nullptr), labelCombo(nullptr),
|
||||||
unitCombo(nullptr), osOptionCheck(nullptr), langChanged(false), unitChanged(false), labelLangChanged(false),
|
unitCombo(nullptr), osOptionCheck(nullptr), langChanged(false), unitChanged(false), labelLangChanged(false),
|
||||||
sendReportCheck(nullptr)
|
sendReportCheck(nullptr), askPointDeletionCheck(nullptr)
|
||||||
{
|
{
|
||||||
QGroupBox *saveGroup = SaveGroup();
|
QGroupBox *saveGroup = SaveGroup();
|
||||||
QGroupBox *langGroup = LangGroup();
|
QGroupBox *langGroup = LangGroup();
|
||||||
|
|
|
@ -69,9 +69,14 @@ CONFIG(debug, debug|release){
|
||||||
#Turn on compilers warnings.
|
#Turn on compilers warnings.
|
||||||
*-g++{
|
*-g++{
|
||||||
QMAKE_CXXFLAGS += \
|
QMAKE_CXXFLAGS += \
|
||||||
# Key -isystem disable checking errors in system headers.
|
|
||||||
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
|
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
|
||||||
$$GCC_DEBUG_CXXFLAGS # See Valentina.pri for more details.
|
# Key -isystem disable checking errors in system headers.
|
||||||
|
$$GCC_DEBUG_CXXFLAGS \ # See Valentina.pri for more details.
|
||||||
|
|
||||||
|
# -isystem key works only for headers. In some cases it's not enough. But we can't delete this warnings and
|
||||||
|
# want them in global list. Compromise decision delete them from local list.
|
||||||
|
QMAKE_CXXFLAGS -= \
|
||||||
|
-Wswitch-default
|
||||||
|
|
||||||
#gcc’s 4.8.0 Address Sanitizer
|
#gcc’s 4.8.0 Address Sanitizer
|
||||||
#http://blog.qt.digia.com/blog/2013/04/17/using-gccs-4-8-0-address-sanitizer-with-qt/
|
#http://blog.qt.digia.com/blog/2013/04/17/using-gccs-4-8-0-address-sanitizer-with-qt/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user