Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* gcc-2.96 problem under rh70
@ 2001-02-06 13:58 Georg Wittig
  2001-02-06 15:32 ` Matt Wilson
  2001-02-06 15:55 ` gcc-2.96 problem under rh70 Michal Jaegermann
  0 siblings, 2 replies; 7+ messages in thread
From: Georg Wittig @ 2001-02-06 13:58 UTC (permalink / raw)
  To: axp-list

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.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-02-07 20:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-06 13:58 gcc-2.96 problem under rh70 Georg Wittig
2001-02-06 15:32 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox