getopt.c is looking a bit ancient. In particular, getopt() has no
prototype and old style arguments. Is there any reason not to bring this
into the 1990s (or is that 1980s?)

gcc also doesn't like the way perl does unused attributes on Windows,
and it generates quite a few warnings about it. A little experimentation
suggests this would probably clean it up if placed at the start of plperl.h:

#if defined(__GNUC_)
#define PERL_UNUSED_DECL __attribute__ ((unused))
#endif

Thoughts?

cheers

andrew

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-hackers @
categoriespostgresql
postedApr 23, '11 at 11:03p
activeApr 23, '11 at 11:03p
posts1
users1
websitepostgresql.org...
irc#postgresql

1 user in discussion

Andrew Dunstan: 1 post

People

Translate

site design / logo © 2022 Grokbase