Null characters in files
Jason Merrill
jason@cygnus.com
Mon Apr 3 13:57:00 GMT 2000
>>>>> Per Bothner <per@bothner.com> writes:
> Jason Merrill <jason@cygnus.com> writes:
>> >> No. Embedded in a string, they should be passed through. It's perfectly
>> >> reasonable to have an embedded null in a string.
>>
>> > But we still want a warning, no?
>>
>> I don't feel strongly about that.
> I don't think it is reasonable to have an embedded null in a string.
> The nul character is not in the C source character set.
> I feel there should be warning, perhaps a pedwarn.
OK, perhaps "reasonable" was too strong. A warning does make sense. But
the null should be passed through.
Jason
More information about the Gcc-patches
mailing list