Hi, all. I've just tried compiling some code on a RedHat 6.0 system,
and ran across a problem. I've written some test code that
demonstrates the problem:
% cat egcs-example.c
#include <ctype.h>
int func (char *array)
{
return tolower (array[0]);
}
% cc -c -Wall -pedantic-errors -O2 egcs-example.c
egcs-example.c: In function `func':
egcs-example.c:5: ANSI C forbids braced-groups within expressions
% gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Anyone familiar with this problem?
Regards,
Richard....
Old: [EMAIL PROTECTED]
Current: [EMAIL PROTECTED]