Re: [BUGS] BUG #3770: Follow up: Fail to make bcc32.mak for libpq

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: CN <cnliou9(at)fastmail(dot)fm>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [BUGS] BUG #3770: Follow up: Fail to make bcc32.mak for libpq
Date: 2007-11-21 23:13:02
Message-ID: 200711212313.lALND2V25302@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

CN wrote:
>
> The following bug has been logged online:
>
> Bug reference: 3770
> Logged by: CN
> Email address: cnliou9(at)fastmail(dot)fm
> PostgreSQL version: 8.3beta3
> Operating system: Win 98
> Description: Follow up: Fail to make bcc32.mak for libpq
> Details:
>
> I manually copied ~/src/include/port/win32.h to
> ~/src/include/pg_config_os.h. BCC55 make produces different errors:

OK, you did what my patch did.

> --------------
> bcc32.exe
> -I\borland\bcc55\include;..\..\include;..\..\include\port\win32;..\..\includ
> e\port\win32_msvc;..\..\port -n".\Release" -WD -c
> -DFRONTEND;NDEBUG;WIN32;_WINDOWS -tWM -a8 -X -w-use -w-par -w-pia -w-csu
> -w-aus -w-ccc -O -Oi -OS -DNDEBUG fe-auth.c
> Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
> fe-auth.c:
> Warning W8017 ..\..\include\getaddrinfo.h 47: Redefinition of
> 'WSATYPE_NOT_FOUND' is not identical
> Error E2141 libpq-int.h 532: Declaration syntax error
> Error E2141 libpq-int.h 533: Declaration syntax error
> *** 2 errors in Compile ***
>
> ** error 1 ** deleting ".\Release\fe-auth.obj"

Uh, try the attached, applied patch. Seems you already have
WSATYPE_NOT_FOUND defined in BCC.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 650 bytes

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2007-11-21 23:44:51 Re: BUG #3734: Invalid XML schema output.
Previous Message Bruce Momjian 2007-11-21 23:04:24 Re: BUG #3769: Fail to make bcc32.mak for libpq

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2007-11-22 09:32:51 [Fwd: Re: [HACKERS] Postgres 8.3 archive_command]
Previous Message Bruce Momjian 2007-11-21 22:45:56 Re: Fix pg_dump dependency on postgres.h