bug-gnats
[Top][All Lists]
Advanced

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

Re: VARARGS compile problem (Gnats 4)


From: Lars Henriksen
Subject: Re: VARARGS compile problem (Gnats 4)
Date: Fri, 19 Oct 2001 09:08:05 +0200
User-agent: Mutt/1.3.15i

On Thu, Oct 18, 2001 at 02:03:13PM +0200, Lars Henriksen wrote:

> I have checked out the latest Gnats 4 version and gets the following error
> when compiling:
> 
> cc -c -I. -I../../gnats-4.0/gnats -I../../gnats-4.0/gnats/../include  -g 
> -Dconst=    -DHAVE_CONFIG_H 
> -DGNATSD_USER_ACCESS_FILE=\"/vol/pack/gnats.4.0/etc/gnats/gnatsd.access\" 
> -DGNATSD_HOST_ACCESS_FILE=\"/vol/pack/gnats.4.0/etc/gnats/gnatsd.host_access\"
>  -DDEFAULT_GNATS_SERVICE=\"support\" 
> -DGLOBAL_DB_LIST_FILE=\"/vol/pack/gnats.4.0/etc/gnats/databases\" 
> -DGNATS_USER=\"nmpr\" ../../gnats-4.0/gnats/internal.c
> cc: Error: ../../gnats-4.0/gnats/internal.c, line 212: In this statement, 
> "va_alist" is not declared. (undeclared)
>   VA_START (args, die);
> --^
> cc: Error: ../../gnats-4.0/gnats/internal.c, line 439: In this statement, 
> "va_alist" is not declared. (undeclared)
>   VA_START (args, errorCode);
> --^
> 
> The environment is:
> COMPAQ AlphaServer
> DEC C V5.9-005 on Digital UNIX V4.0 (Rev. 1229)
> [DIGITAL C++ V6.1-029 on DIGITAL UNIX V4.0 (Rev. 1229)]

The answer to my own question:

The Digital/Compaq compiler needs a "-std" in CFLAGS.

Lars Henriksen



reply via email to

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