This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Null characters in files


>>>>> Andrew Haley <aph@pasanda.cygnus.co.uk> writes:

 >> From: Jason Merrill <jason@cygnus.com>
 >> Date: 03 Apr 2000 10:37:00 -0700
 >> 
 >> >>>>> Neil Booth <NeilB@earthling.net> writes:
 >> 
 >>  > With this patch null characters are handled as follows:-
 >> 
 >>  > o  Embedded in a comment, they go unnoticed
 >>  > o  Embedded in a string, a warning is issued and the null ignored
 >> 
 >> 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.

Jason

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]