GCC warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-05-31 13:00:26 +03:00
parent b3352b8b37
commit bd58148080
2 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,11 @@
#include <QString>
#ifdef Q_CC_GNU
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wattributes"
#endif
//---------------------------------------------------------------------------------------------------------------------
QMUPARSERSHARED_EXPORT inline QString NameRegExp()
{
@ -33,4 +38,8 @@ QMUPARSERSHARED_EXPORT inline QString NameRegExp()
return QStringLiteral("^([^0-9*/^+\\-=\\s()?%:;!.,`'\"]){1,1}([^*/^+\\-=\\s()?%:;!.,`'\"]){0,}$");
}
#ifdef Q_CC_GNU
#pragma GCC diagnostic pop
#endif
#endif // QMUDEF_H

View File

@ -33,6 +33,7 @@
//---------------------------------------------------------------------------------------------------------------------
TST_VLayoutDetail::TST_VLayoutDetail(QObject *parent)
:AbstractTest(parent)
{
}