Re: Re: WIN32 errno patch

From: Mikhail Terekhov <terekhov(at)emc(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: WIN32 errno patch
Date: 2001-08-09 22:42:23
Message-ID: 3B7311CF.4D1CC8B2@emc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers pgsql-patches

Bruce Momjian wrote:
>
> Tom has applied these changes to the CVS snapshot. Can you try it and
> let us know.
>

It does not even compile:

Deleting intermediate files and output files for project 'libpqdll_current - Win32 Debug'.
--------------------Configuration: libpqdll_current - Win32 Debug--------------------
Compiling resources...
Compiling...
fe-auth.c
c:\home\postgres\current\pgsql\src\interfaces\libpq\win32.h(34) : warning C4005: 'errno' : macro redefinition
c:\program files\microsoft visual studio\vc98\include\stdlib.h(176) : see previous definition of 'errno'
fe-connect.c
c:\home\postgres\current\pgsql\src\interfaces\libpq\win32.h(34) : warning C4005: 'errno' : macro redefinition
c:\program files\microsoft visual studio\vc98\include\stdlib.h(176) : see previous definition of 'errno'
fe-exec.c
c:\home\postgres\current\pgsql\src\interfaces\libpq\win32.h(34) : warning C4005: 'errno' : macro redefinition
c:\program files\microsoft visual studio\vc98\include\stdlib.h(176) : see previous definition of 'errno'
c:\home\postgres\current\pgsql\src\interfaces\libpq\fe-exec.c(2058) : error C2065: 'errno' : undeclared identifier
fe-lobj.c
c:\home\postgres\current\pgsql\src\interfaces\libpq\win32.h(34) : warning C4005: 'errno' : macro redefinition
c:\program files\microsoft visual studio\vc98\include\stdlib.h(176) : see previous definition of 'errno'
c:\home\postgres\current\pgsql\src\interfaces\libpq\fe-lobj.c(405) : error C2065: 'errno' : undeclared identifier
fe-misc.c
c:\home\postgres\current\pgsql\src\interfaces\libpq\win32.h(34) : warning C4005: 'errno' : macro redefinition
c:\program files\microsoft visual studio\vc98\include\stdlib.h(176) : see previous definition of 'errno'
c:\home\postgres\current\pgsql\src\interfaces\libpq\fe-misc.c(128) : warning C4018: '>' : signed/unsigned mismatch
c:\home\postgres\current\pgsql\src\interfaces\libpq\fe-misc.c(219) : warning C4018: '>' : signed/unsigned mismatch
fe-print.c
c:\home\postgres\current\pgsql\src\interfaces\libpq\win32.h(34) : warning C4005: 'errno' : macro redefinition
c:\program files\microsoft visual studio\vc98\include\stdlib.h(176) : see previous definition of 'errno'
c:\home\postgres\current\pgsql\src\interfaces\libpq\fe-print.c(304) : warning C4090: 'function' : different 'const' qualifiers
c:\home\postgres\current\pgsql\src\interfaces\libpq\fe-print.c(304) : warning C4022: 'free' : pointer mismatch for actual parameter 1
libpqdll.c
pqexpbuffer.c
c:\home\postgres\current\pgsql\src\interfaces\libpq\win32.h(34) : warning C4005: 'errno' : macro redefinition
c:\program files\microsoft visual studio\vc98\include\stdlib.h(176) : see previous definition of 'errno'
c:\home\postgres\current\pgsql\src\interfaces\libpq\pqexpbuffer.c(195) : warning C4018: '<' : signed/unsigned mismatch
c:\home\postgres\current\pgsql\src\interfaces\libpq\pqexpbuffer.c(244) : warning C4018: '<' : signed/unsigned mismatch
pqsignal.c
Error executing cl.exe.

libpq.dll - 2 error(s), 13 warning(s)

Regards,
Mikhail Terekhov

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Ian Lance Taylor 2001-08-09 23:06:22 Re: WIN32 errno patch
Previous Message Mikhail Terekhov 2001-08-09 22:34:23 Re: Re: WIN32 errno patch

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Lance Taylor 2001-08-09 23:06:22 Re: WIN32 errno patch
Previous Message Peter Eisentraut 2001-08-09 22:38:24 Vague idea for allowing per-column locale

Browse pgsql-patches by date

  From Date Subject
Next Message Ian Lance Taylor 2001-08-09 23:06:22 Re: WIN32 errno patch
Previous Message Mikhail Terekhov 2001-08-09 22:34:23 Re: Re: WIN32 errno patch