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