Bug 73641 - undefined variables in g2c.h
Summary: undefined variables in g2c.h
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.3
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL: http://gcc.gnu.org/ml/gcc-bugs/2002-0...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-07 17:33 UTC by Need Real Name
Modified: 2007-04-18 16:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-03 04:05:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-09-07 17:33:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.0.0-10; Linux)

Description of problem:
g2c.h contains undefined vars that break C++ interface

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
 

Additional info:

The problem is well docmented at:
http://gcc.gnu.org/ml/gcc-bugs/2002-04/msg00525.html

For what it's worth, here is the diff/patch for my i686:
21,22c21,22
< typedef __g77_integer integer;
< typedef __g77_uinteger uinteger;
---
> typedef long int integer;
> typedef unsigned long int uinteger;
29c29
< typedef __g77_integer logical;
---
> typedef long int logical;
33,34c33,34
< typedef __g77_longint longint;       /* system-dependent */
< typedef __g77_ulongint ulongint;     /* system-dependent */
---
> typedef long long int longint;       /* system-dependent */
> typedef unsigned long long int ulongint;      /* system-dependent */
55,57c55,57
< typedef __g77_integer flag;
< typedef __g77_integer ftnlen;
< typedef __g77_integer ftnint;
---
> typedef long int flag;
> typedef long int ftnlen;
> typedef long int ftnint;

Comment 1 Richard Henderson 2004-10-03 04:05:24 UTC
Fixed in gcc 3.2.


Note You need to log in before you can comment on or make changes to this bug.