From 4bcf957406f8876bf3f427305b251d1a5f02eab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Suzuki=2C=20Toshiya=20=28=E9=88=B4=E6=9C=A8=E4=BF=8A?= =?UTF-8?q?=E5=93=89=29?= Date: Thu, 22 Mar 2007 04:53:45 +0000 Subject: [PATCH] Suppress SGI compiler warning against setjmp --- ChangeLog | 6 ++++++ builds/unix/ftconfig.in | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 77798d9af..aa8b07e1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-03-22 suzuki toshiya + + * builds/unix/ftconfig.in: Suppress SGI compiler's warning against + setjmp, proposed by Sean McBride: + http://lists.gnu.org/archive/html/freetype-devel/2007-03/msg00032.html + 2007-03-19 suzuki toshiya * builds/unix/configure.raw: Dequote `OS_INLINE' in comment of diff --git a/builds/unix/ftconfig.in b/builds/unix/ftconfig.in index 28b2d8c4e..b3c81b0ef 100644 --- a/builds/unix/ftconfig.in +++ b/builds/unix/ftconfig.in @@ -108,6 +108,14 @@ FT_BEGIN_HEADER #endif + /* Fix compiler warning with sgi compiler */ +#if defined( __sgi ) && !defined( __GNUC__ ) +#if defined( _COMPILER_VERSION ) && ( _COMPILER_VERSION >= 730 ) +#pragma set woff 3505 +#endif +#endif + + /*************************************************************************/ /* */ /* IntN types */