Bug 54355 - source code isn't ISO C
source code isn't ISO C
Product: Red Hat Linux
Classification: Retired
Component: cdecl (Show other bugs)
alpha Linux
low Severity medium
: ---
: ---
Assigned To: Preston Brown
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2001-10-04 13:47 EDT by d.binderman
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-10-04 13:47:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description d.binderman 2001-10-04 13:47:50 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk  (Win98; I)

Description of problem:
Hello there,

I've just been having a look at the source code 
of cdecl-2.5.

In file cdecl.c, around line 245, a variable is 
declared called 'restrict'.

This identifier is now a reserved word in ISO C.

I changed the identifier to 'restricted' and
the problem seemed to go away.

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

How reproducible:

Steps to Reproduce:
1. Compile the source code of cdecl with the Compaq ccc compiler, using the flags -w0 -fast.

Additional info:
Comment 1 Preston Brown 2001-11-06 12:15:16 EST
fixed in 2.5-21 and later.

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