[Bug preprocessor/67132] gcc -D__WCHAR_TYPE__='unsigned int' should not complain about built-in types redefined

2015-08-12 Thread giacomo at tesio dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67132 --- Comment #4 from Giacomo Tesio --- Indeed, this is a request for an enhancement, not a bug report. I mean, being able to decide how gcc defines wchar_t is an enhancement, given the poor definition of such type in the standard. With -Wno-point

[Bug c/67132] gcc -D__WCHAR_TYPE__='unsigned int' should not complain about built-in types redefined

2015-08-11 Thread giacomo at tesio dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67132 --- Comment #2 from Giacomo Tesio --- The warning about signedness if perfectly fine. What I'd like to be able to do (without warnings) is to redefine tree built-in types and constants at the command line. Since it already works, the only issue

[Bug c/67132] New: gcc -D__WCHAR_TYPE__='unsigned int' should not complain about built-in types redefined

2015-08-06 Thread giacomo at tesio dot it
NCONFIRMED Severity: enhancement Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: giacomo at tesio dot it Target Milestone: --- I have a 3rd party library that `typedef Rune uint32_t`, and gcc *properly* complains about the signedn