This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: The treatment of null characters in C source files
- To: craig at jcb-sc dot com
- Subject: Re: The treatment of null characters in C source files
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 06 Sep 1999 02:08:11 -0600
- cc: zack at bitmover dot com, gcc at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <19990906004151.7557.qmail@deer>you write:
> A C *string* (as a constant) may certainly have a null character in it,
> as in "hello\000 there".
Right.
> But, surely there's no requirement that a C *source file* be allowed to
> have a null character in it.
Oh, I mis-understood. Sorry. No clue what the standard says here.
Zack -- did you check the standard for any wording on this issue? Ultimately
if it says anything we should follow it.
jeff