From 352bd095d46d09e7d47bcb52874f23c4bd8faa51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Wed, 22 Oct 2014 04:17:43 -0700 Subject: [PATCH] GCC doesn't like #pragmas between the function declaration and definition --- src/libtess2/sweep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtess2/sweep.c b/src/libtess2/sweep.c index 49559fa12..be3ee561c 100755 --- a/src/libtess2/sweep.c +++ b/src/libtess2/sweep.c @@ -433,7 +433,6 @@ static void VertexWeights( TESSvertex *isect, TESSvertex *org, TESSvertex *dst, static void GetIntersectData( TESStesselator *tess, TESSvertex *isect, TESSvertex *orgUp, TESSvertex *dstUp, TESSvertex *orgLo, TESSvertex *dstLo ) -#pragma GCC diagnostic pop /* * We've computed a new intersection point, now we need a "data" pointer * from the user so that we can refer to this new vertex in the @@ -447,6 +446,7 @@ static void GetIntersectData( TESStesselator *tess, TESSvertex *isect, VertexWeights( isect, orgUp, dstUp, &weights[0] ); VertexWeights( isect, orgLo, dstLo, &weights[2] ); } +#pragma GCC diagnostic pop static int CheckForRightSplice( TESStesselator *tess, ActiveRegion *regUp ) /*