[rrd-developers] Fix for "__STRICT_ANSI__" is not defined
g.esp at free.fr
g.esp at free.fr
Sat May 5 19:08:14 CEST 2012
while compiling rrdtool-1.4.7 under linux with gcc-4.4.5, I spotted those warnings
In file included from rrd_i18n.h:18,
from rrd_tool.c:21:
gettext.h:176:6: warning: "__STRICT_ANSI__" is not defined
gettext.h:200:5: warning: "__STRICT_ANSI__" is not defined
gettext.h:215:6: warning: "__STRICT_ANSI__" is not defined
gettext.h:246:5: warning: "__STRICT_ANSI__" is not defined
gettext.h:261:6: warning: "__STRICT_ANSI__" is not defined
In the light of this gnulib thread, adding a defined is the way to fix that:
http://lists.gnu.org/archive/html/bug-gnulib/2011-10/msg00173.html
I made a patch for the 1.4 branch, it compile fine. Apply with -p3 to the package.
Same change should work for 1.3 and trunk, untested by me.
Those warning are already reported as http://oss.oetiker.ch/rrdtool-trac/ticket/337
I know gettext original libgettextpo.h.in is still unchanged (but does not emit this warning)
Thank for rrdtool.
Gilles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrdtool-1.4_STRICT_ANSI.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20120505/5fd73cac/attachment.bin
More information about the rrd-developers
mailing list