From: Mark Conway Wirt <mark@intrepid.net>
To: axp-list@redhat.com
Subject: Silly egcs question
Date: Wed, 25 Nov 1998 19:03:09 -0500 [thread overview]
Message-ID: <19981125190309.L25254@intrepid.net> (raw)
I've upgraded to RH5.2, which includes 1.03a, and I'm having trouble
getting some codes to compile. The problem seems to be in some of
the include files to the egcs compiler. I know that there have been
problems with kernel headers before....
The file in question is
/usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.90.29/include/stddef.h
..and the offending lines:
#ifndef __SIZE_TYPE__
#define __SIZE_TYPE__ long unsigned int
#endif
#if !(defined (__GNUG__) && defined (size_t))
typedef __SIZE_TYPE__ size_t;
#endif /* !(defined (__GNUG__) && defined (size_t)) */
The compiler is complaining about a syntax error before the typedef.
Now, I'm not a C guru, but it looks OK to me. What could the problem be?
If it's one of the macros (like __SIZE_TYPE__) that's ill-defined, how do
I trace the offending definition?
Sorry if this is a bit off-topic. RedHat's archive search is down once
again, and I can't find anything on alphalinux.org...
TIA
--Mark
reply other threads:[~1998-11-26 0:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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