Red Hat Bugzilla – Bug 54355
source code isn't ISO C
Last modified: 2008-05-01 11:38:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk (Win98; I)
Description of problem:
I've just been having a look at the source code
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):
Steps to Reproduce:
1. Compile the source code of cdecl with the Compaq ccc compiler, using the flags -w0 -fast.
fixed in 2.5-21 and later.