From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3342 invoked from network); 26 Nov 1998 00:03:12 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Nov 1998 00:03:12 -0000 Received: from loki.intrepid.net (mark@intrepid.net [204.71.127.3]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA21915 for ; Wed, 25 Nov 1998 19:03:12 -0500 Received: (from mark@localhost) by loki.intrepid.net (8.8.5/8.8.5) id TAA30982 for axp-list@redhat.com; Wed, 25 Nov 1998 19:03:09 -0500 Message-ID: <19981125190309.L25254@intrepid.net> Date: Wed, 25 Nov 1998 19:03:09 -0500 From: Mark Conway Wirt To: axp-list@redhat.com Subject: Silly egcs question Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 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