bug or feature?

Aldy Hernandez aldyh@redhat.com
Fri May 2 19:01:00 GMT 2003


As a global, this works:

	int x2 = (int) (char) 5;

This doesn't:

	int x2 = (int) (char) {5};

b.c:1: error: initializer element is not constant

Bug?



More information about the Gcc mailing list