make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Latest CVS compile problem - "error no variadic api"


From: J. Grant
Subject: Re: Latest CVS compile problem - "error no variadic api"
Date: Fri, 05 Mar 2004 00:05:21 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030824

Hello

A minor problem with latest CVS checkout building for Windows32, using
build_w32.bat and MSVC6 compiler:

cl.exe /nologo /MT /W3 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG
/D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinRel/
/Fp.\WinRel/gnumake.pch /Fo.\WinRel/ /c misc.c
misc.c
misc.c(214) : error C2061: syntax error : identifier 'va_dcl'
misc.c(250) : error C2061: syntax error : identifier 'va_dcl'
misc.c(283) : error C2061: syntax error : identifier 'va_dcl'

__STDC__ is not defined on win32 builds, or defined as 1 etc.
HAVE_VARIADIC and HAVE_STDARG_H both evaluate to true.  Is the __STDC__
check needed? It was only added recently.

After I locally removed the __STDC__ check, it all compiled and linked fine.

Regards

JG



on the 25/02/04 23:54, J. Grant wrote:
Hi Paul

Great, this compiles fine now for Windows32 release/debug (MSVC6).

Regards

JG


on the 25/02/04 01:24, Paul D. Smith wrote:

Fixed in the source (just checked in).

I updated the proper config.h* for each port to have HAVE_STDARG_H
defined (I'm assuming of course that they actually do... if not, let me
know).








reply via email to

[Prev in Thread] Current Thread [Next in Thread]