ICC warnings.
--HG-- branch : develop
This commit is contained in:
parent
467ffbd132
commit
69f65cf4e7
|
@ -576,7 +576,7 @@ CLANG_DEBUG_CXXFLAGS += \
|
|||
ICC_DEBUG_CXXFLAGS += \
|
||||
$$ISYSTEM \ # Ignore warnings Qt headers.
|
||||
-Wcomment \
|
||||
#-Weffc++ \ # Disabled, produce to many "false positive" warning
|
||||
-Weffc++ \
|
||||
-Wextra-tokens \
|
||||
-Wformat \
|
||||
#-Winline \
|
||||
|
@ -597,7 +597,7 @@ ICC_DEBUG_CXXFLAGS += \
|
|||
-Wunused-variable \
|
||||
-pedantic \
|
||||
-Wno-pch-messages \
|
||||
-wd1418,2012,2015 #disable warnings. Syntax example -wd1572,873,2259,2261
|
||||
-wd1418,2012,2015,2017,2022,2013 #disable warnings. Syntax example -wd1572,873,2259,2261
|
||||
} else {
|
||||
# Don't use additional GCC and Clang keys on Windows system.
|
||||
# Can't find way mark ignore Qt header on Windows.
|
||||
|
|
|
@ -1368,7 +1368,7 @@ struct DXFLIB_EXPORT DL_LeaderVertexData
|
|||
* Constructor.
|
||||
* Parameters: see member variables.
|
||||
*/
|
||||
DL_LeaderVertexData(double px=0.0, double py=0.0, double pz=0.0)
|
||||
explicit DL_LeaderVertexData(double px=0.0, double py=0.0, double pz=0.0)
|
||||
: x(px), y(py), z(pz)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -43,7 +43,8 @@ class VMeasurementData : public QSharedData
|
|||
public:
|
||||
|
||||
VMeasurementData(quint32 index, const QString &gui_text, const QString &tagName)
|
||||
:data(VContainer(nullptr, nullptr)), index(index), gui_text(gui_text), _tagName(tagName), formulaOk(true)
|
||||
:data(VContainer(nullptr, nullptr)), index(index), formula(), gui_text(gui_text), _tagName(tagName),
|
||||
formulaOk(true)
|
||||
{}
|
||||
|
||||
VMeasurementData(VContainer *data, quint32 index, const QString &formula, bool ok, const QString &gui_text,
|
||||
|
|
|
@ -42,7 +42,10 @@
|
|||
|
||||
class VTranslateVars;
|
||||
|
||||
#ifdef Q_CC_GNU
|
||||
#if defined(Q_CC_INTEL)
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable: 2021 )
|
||||
#elif defined(Q_CC_GNU)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Weffc++"
|
||||
#endif
|
||||
|
@ -84,8 +87,10 @@ public:
|
|||
const Unit *patternUnit;
|
||||
};
|
||||
|
||||
#ifdef Q_CC_GNU
|
||||
#pragma GCC diagnostic pop
|
||||
#if defined(Q_CC_INTEL)
|
||||
#pragma warning( pop )
|
||||
#elif defined(Q_CC_GNU)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user