GCC warnings.
--HG-- branch : develop
This commit is contained in:
parent
9375e0319d
commit
dbcea3a979
|
@ -238,7 +238,7 @@ GCC_DEBUG_CXXFLAGS += \
|
|||
-Wmissing-include-dirs \
|
||||
-Wpacked \
|
||||
-Wredundant-decls \
|
||||
-Winline \
|
||||
# -Winline \
|
||||
-Winvalid-pch \
|
||||
-Wunsafe-loop-optimizations \
|
||||
-Wlong-long \
|
||||
|
@ -427,7 +427,7 @@ CLANG_DEBUG_CXXFLAGS += \
|
|||
-Winherited-variadic-ctor \
|
||||
-Winit-self \
|
||||
-Winitializer-overrides \
|
||||
-Winline \
|
||||
# -Winline \
|
||||
-Wint-conversion \
|
||||
-Wint-conversions \
|
||||
-Wint-to-pointer-cast \
|
||||
|
@ -641,7 +641,7 @@ ICC_DEBUG_CXXFLAGS += \
|
|||
-Weffc++ \
|
||||
-Wextra-tokens \
|
||||
-Wformat \
|
||||
#-Winline \
|
||||
# -Winline \
|
||||
-Wmain \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-prototypes \
|
||||
|
|
|
@ -498,6 +498,10 @@ qreal estimate(int elen, qreal *e)
|
|||
return Q;
|
||||
}
|
||||
|
||||
#if defined(Q_CC_GNU)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
qreal incircleadapt(qreal *pa, qreal *pb, qreal *pc, qreal *pd, qreal permanent)
|
||||
{
|
||||
INEXACT qreal adx, bdx, cdx, ady, bdy, cdy;
|
||||
|
@ -1031,6 +1035,9 @@ qreal incircleadapt(qreal *pa, qreal *pb, qreal *pc, qreal *pd, qreal permanent)
|
|||
|
||||
return finnow[finlength - 1];
|
||||
}
|
||||
#if defined(Q_CC_GNU)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
qreal incircle(qreal *pa, qreal *pb, qreal *pc, qreal *pd)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user