From: Georg Wittig <Georg.Wittig@gmd.de>
To: axp-list@redhat.com
Subject: gcc-2.96 problem under rh70
Date: Tue, 6 Feb 2001 14:58:01 +0100 [thread overview]
Message-ID: <20010206145801.A3282@twister.gmd.de> (raw)
The following program doesn't compile with gcc-2.96:
---------------------------------
#include <stdarg.h>
#include <varargs.h>
demo(int dummy1, ...){
va_list dummy2;
va_start(dummy2, dummy1);
}
---------------------------------
/usr/lib/gcc-lib/alpha-redhat-linux/2.96/include/varargs.h:66:17: warning: "va_start" redefined
/usr/lib/gcc-lib/alpha-redhat-linux/2.96/include/stdarg.h:54:1: warning: this is the location of the previous definition
test.c:6:26: too many arguments for macro "va_start"
---------------------------------
Of course, this isn't a real program, but an excerpt from a bigger
program to nail down the problem. That program used to compile and
work under RH >= 4.2 on all the Alphas, but no longer under RH70.
$ rpm -qa | grep gcc
gcc-c++-2.96-69
gcc-2.96-69
$ uname -r
2.2.17-4
$ grep platform /proc/cpuinfo
platform string : COMPAQ Professional Workstation XP1000
$ cat /etc/redhat-release
Red Hat Linux release 7.0 (Guinness)
$
Suggestions how to work-around that problem until the bug is fixed are
welcome. Thanks in advance for your help.
--
Georg Wittig, GMD Georg.Wittig@gmd.de
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
A lot of time has been wasted arguing over what came first --
the chicken or the egg. It was undoubtedly the rooster.
next reply other threads:[~2001-02-06 13:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-06 13:58 Georg Wittig [this message]
2001-02-06 15:32 ` gcc-2.96 problem under rh70 Matt Wilson
2001-02-07 12:59 ` Georg Wittig
2001-02-07 16:12 ` PCi64 memory Speedracer
2001-02-07 16:32 ` Jay Estabrook
2001-02-07 20:11 ` geerten kuiper
2001-02-06 15:55 ` gcc-2.96 problem under rh70 Michal Jaegermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox