problems with iso restrict

Jeffrey A Law law@cygnus.com
Fri Dec 4 10:12:00 GMT 1998


Try to compile this.  No options necessary

foo(restrict)
  int restrict;
{
  blah (restrict);
  blah (restrict);
}


The compiler chokes on "invalid use of restrict".

Seems to me like "restrict" should not be a reserved word unless we are in
c9x mode.

jeff



More information about the Gcc-bugs mailing list