diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-09-13 13:31:21 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-09-13 13:31:21 +0000 |
commit | bfd453e015751a3deabc18dec7f76e5256f52313 (patch) | |
tree | d0077b394a001c3e16613f9a4db815fb18afdbe2 /navit/font | |
parent | 659a543047882e6c412764795068ee57b8284787 (diff) | |
download | navit-bfd453e015751a3deabc18dec7f76e5256f52313.tar.gz |
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
Diffstat (limited to 'navit/font')
-rw-r--r-- | navit/font/freetype/font_freetype.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <fribidi.h> +#pragma GCC diagnostic pop #endif #include FT_GLYPH_H #include "point.h" |