[Prev][Next][Index]
Parsing error for GNU header files.
- From: Rahul Singh <rsingh@valhalla.cs.wright.edu>
- Date: Wed, 3 Apr 1996 12:25:34 -0500
- To: sage-bugs@extreme.indiana.edu
- Subject: Parsing error for GNU header files.
- Sender: owner-sage-bugs@extreme.indiana.edu
The following are the partial contents of _G_config.h that exists in
/usr/local/lib/gnu/lib/g++-include. This file is included in a benchmark
program that performs continued fraction factoring; this file also appears in
the src directory and thus appears to be important. I am executing sagecc after
pre-processing the program with gcc. The pre-processed file includes the
typedefs between the #if and #else. sagecc gives a parsing error for these
typedefs.
/* AUTOMATICALLY GENERATED; DO NOT EDIT! */
#ifndef _G_config_h
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
typedef int _G_int8_t __attribute__((__mode__(__QI__)));
typedef unsigned int _G_uint8_t __attribute__((__mode__(__QI__)));
typedef int _G_int16_t __attribute__((__mode__(__HI__)));
typedef unsigned int _G_uint16_t __attribute__((__mode__(__HI__)));
typedef int _G_int32_t __attribute__((__mode__(__SI__)));
typedef unsigned int _G_uint32_t __attribute__((__mode__(__SI__)));
typedef int _G_int64_t __attribute__((__mode__(__DI__)));
typedef unsigned int _G_uint64_t __attribute__((__mode__(__DI__)));
#else
typedef short /* deduced */ _G_int16_t;
typedef unsigned short /* deduced */ _G_uint16_t;
typedef int /* deduced */ _G_int32_t;
typedef unsigned int /* deduced */ _G_uint32_t;
#endif
#endif /* !_G_config_h */