GCC warnings.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2015-03-16 12:33:37 +02:00
parent 39068847f5
commit cabac6f3d0
2 changed files with 8 additions and 3 deletions

View File

@ -46,7 +46,7 @@
ConfigurationPage::ConfigurationPage(QWidget *parent)
: QWidget(parent), autoSaveCheck(nullptr), autoTime(nullptr), langCombo(nullptr), labelCombo(nullptr),
unitCombo(nullptr), osOptionCheck(nullptr), langChanged(false), unitChanged(false), labelLangChanged(false),
sendReportCheck(nullptr)
sendReportCheck(nullptr), askPointDeletionCheck(nullptr)
{
QGroupBox *saveGroup = SaveGroup();
QGroupBox *langGroup = LangGroup();

View File

@ -69,9 +69,14 @@ CONFIG(debug, debug|release){
#Turn on compilers warnings.
*-g++{
QMAKE_CXXFLAGS += \
# Key -isystem disable checking errors in system headers.
-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
#gccs 4.8.0 Address Sanitizer
#http://blog.qt.digia.com/blog/2013/04/17/using-gccs-4-8-0-address-sanitizer-with-qt/