<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Extras/contrib libintl.h could still use a patch</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT FACE="Times New Roman">Lines 91 and 113 generate warnings all the time, due to the test relative to Apple_CC.</FONT>
</P>

<P><FONT FACE="Times New Roman">I recommend that lines 91 and 113 of libintl.h, found at src/gettext/gettext-runtime/intl, be patched so that there's the test for the existance of __APPLE_CC__ prior to checking the version of it, so that it will exit cleanly (no more warnings) once it determines that there is no APPLE_CC.</FONT></P>

<P><FONT FACE="Times New Roman">The patch consists of changing line 91 from:</FONT>

<BR><FONT FACE="Times New Roman"># if __GNUC__ >= 2 && !(__APPLE_CC__ > 1) && !defined __MINGW32__ && !(__GNUC__ == 2 && defined _AIX) && (defined __STDC__ || defined __cplusplus)</FONT></P>

<P><FONT FACE="Times New Roman">To:</FONT>

<BR><FONT FACE="Times New Roman"># if __GNUC__ >= 2 && !( (defined __APPLE_CC__ ) && (__APPLE_CC__ > 1) ) && !defined __MINGW32__ && !(__GNUC__ == 2 && defined _AIX) && (defined __STDC__ || defined __cplusplus)</FONT></P>

<P><FONT FACE="Times New Roman">And changing line 113 from:</FONT>

<BR><FONT FACE="Times New Roman">#if __GNUC__ >= 3 && !(__APPLE_CC__ > 1 && defined __cplusplus)</FONT>
</P>

<P><FONT FACE="Times New Roman">To:</FONT>

<BR><FONT FACE="Times New Roman">#if __GNUC__ >= 3 && !(  ((defined __APPLE_CC__ ) && (__APPLE_CC__ > 1))  && defined __cplusplus)</FONT>
</P>

<P><FONT FACE="Times New Roman">(I thought I sent this out as a patch last year, but guess nobody added it.  Not harmful, just an annoyance to see the warnings during the build.)</FONT></P>
<BR>
<BR>

</BODY>
</HTML>