Re: narwhal and PGDLLIMPORT
От | Tom Lane |
---|---|
Тема | Re: narwhal and PGDLLIMPORT |
Дата | |
Msg-id | 396.1392232270@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: narwhal and PGDLLIMPORT (Marco Atzeri <marco.atzeri@gmail.com>) |
Ответы |
Re: narwhal and PGDLLIMPORT
|
Список | pgsql-hackers |
Marco Atzeri <marco.atzeri@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
В списке pgsql-hackers по дате отправления: