The problem of an inline definition by construction in win32 of 8.1.4

Started by Hiroshi Saitoabout 20 years ago2 messagespatches
Jump to latest
#1Hiroshi Saito
z-saito@guitar.ocn.ne.jp

Dear Bruce san.

I neglected sufficient test before a release.:-(
Problem appears by construction in win32 of 8.1.4. ....
nmake -f win32.mak

".\Release\\" /FD /c /D "HAVE_VSNPRINTF" /D "HAVE_STRDUP" "pqexpbuffer.c"
pqexpbuffer.c
cl.exe /nologo /W3 /GX /O2 /MD /I "..\..\include" /I. /D "FRONTEND" /D N
DEBUG /D "WIN32" /D "_WINDOWS" /Fp".\Release\libpq.pch" /YX /Fo".\Release\\" /Fd
".\Release\\" /FD /c /D "HAVE_VSNPRINTF" /D "HAVE_STRDUP" "pqsignal.c"
pqsignal.c
cl.exe @C:\DOCUME~1\saito\LOCALS~1\Temp\nmi02992.
wchar.c
..\..\backend\utils\mb\wchar.c(100) : error C2054: 'inline'
..\..\backend\utils\mb\wchar.c(101) : error C2085: 'pg_euc_mblen'
(snip)

It is not mingw.

Regards,
Hiroshi Saito

Attachments:

win32_patchapplication/octet-stream; name=win32_patchDownload+3-0
#2Bruce Momjian
bruce@momjian.us
In reply to: Hiroshi Saito (#1)
Re: The problem of an inline definition by construction in

Patch applied to CVS HEAD and 8.1.X. Thanks.

Borland CC also needed this change, so I modified your patch appropriately.

---------------------------------------------------------------------------

Hiroshi Saito wrote:

Dear Bruce san.

I neglected sufficient test before a release.:-(
Problem appears by construction in win32 of 8.1.4. ....
nmake -f win32.mak

".\Release\\" /FD /c /D "HAVE_VSNPRINTF" /D "HAVE_STRDUP" "pqexpbuffer.c"
pqexpbuffer.c
cl.exe /nologo /W3 /GX /O2 /MD /I "..\..\include" /I. /D "FRONTEND" /D N
DEBUG /D "WIN32" /D "_WINDOWS" /Fp".\Release\libpq.pch" /YX /Fo".\Release\\" /Fd
".\Release\\" /FD /c /D "HAVE_VSNPRINTF" /D "HAVE_STRDUP" "pqsignal.c"
pqsignal.c
cl.exe @C:\DOCUME~1\saito\LOCALS~1\Temp\nmi02992.
wchar.c
..\..\backend\utils\mb\wchar.c(100) : error C2054: 'inline'
..\..\backend\utils\mb\wchar.c(101) : error C2085: 'pg_euc_mblen'
(snip)

It is not mingw.

Regards,
Hiroshi Saito

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

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