From bfd453e015751a3deabc18dec7f76e5256f52313 Mon Sep 17 00:00:00 2001 From: sleske Date: Sat, 13 Sep 2014 13:31:21 +0000 Subject: Fix:core:Suppress warnings from FreeBidi library (which does not play well with -Wundef). git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5894 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/font/freetype/font_freetype.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'navit/font') diff --git a/navit/font/freetype/font_freetype.c b/navit/font/freetype/font_freetype.c index 5e39092f8..50962fda9 100644 --- a/navit/font/freetype/font_freetype.c +++ b/navit/font/freetype/font_freetype.c @@ -30,7 +30,11 @@ #include FT_CACHE_H #endif #ifdef USE_FRIBIDI +#pragma GCC diagnostic push +// fribidi.h is a bit misbehaved... +#pragma GCC diagnostic ignored "-Wundef" #include +#pragma GCC diagnostic pop #endif #include FT_GLYPH_H #include "point.h" -- cgit v1.2.1