Target deprecation, round three

Nick Ing-Simmons nick.ing-simmons@elixent.com
Mon Apr 14 16:57:00 GMT 2003


Fergus Henderson <fjh@cs.mu.OZ.AU> writes:
>On 24-Feb-2003, Zack Weinberg <zack@codesourcery.com> wrote:
>> There are four possible ways to get around this problem:
>> 
>> - Replace all these character constants with integer or enumeration
>>   constants.  I consider this infeasible, it would make these parts of
>>   the compiler much harder to maintain.

The UTF-EBCDIC scheme avoids this problem.
(perl uses UTF-EBCDIC on OS390.)

>
>Well, sure, don't use integer constants directly, use #defines!
>
>I don't see why e.g.
>
>	if (c == SLASH_CHAR)
>
>is so much harder to maintain than
>
>	if (c == '/')
-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/



More information about the Gcc mailing list