Perl 5.10
Julien ÉLIE
julien at trigofacile.com
Tue May 6 07:46:34 UTC 2008
Hi Russ,
>> /usr/lib/perl/5.10/CORE/perl.h:3969: warning: function declaration isn't a prototype
>>
>> EXTERN_C void PerlIO_teardown();
>
> Yeah, that's a bug in Perl. Ick. If someone has a chance to verify that
> this is still present in the Debian package and report it via reportbug if
> not, that would be good.
I reported it yesterday (but without reportbug, sorry, and it looks like a very bad
bug report...):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479540
> Current gcc's should normally not warn about this kind of thing in system
> headers. There's probably some way to tell it that perl.h is a system
> header.
http://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
I added "-isystem/usr/lib/perl/5.10/CORE" to the flags given to gcc and it worked.
It is what you say regarding current gcc's: "Normally, only the headers found
in specific directories are considered system headers. These directories are
determined when GCC is compiled."
--
Julien ÉLIE
« César, c'est un Jules tout de même ! » (Astérix)
More information about the inn-workers
mailing list