Marco Atzeri <marco.atz...@gmail.com> writes: > On 12/02/2014 19:19, Andres Freund wrote: >> On 2014-02-12 19:13:07 +0100, Marco Atzeri wrote: >>> About PGDLLIMPORT , my build log is full of "warning: âoptargâ >>> redeclared >>> without dllimport attribute: previous dllimport ignored "
>> That should be fixed then. I guess cygwin's getopt.h declares it that way? > from /usr/include/getopt.h > extern char __declspec(dllimport) *optarg; /* argument associated > with option */ Hm. All of our files that use getopt also do extern char *optarg; extern int optind, opterr; #ifdef HAVE_INT_OPTRESET extern int optreset; /* might not be declared by system headers */ #endif regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers