This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Is this code valid under g++
LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com> writes:
>> while (*item == ' ' || *item == ' ')
>
> No. ' ' is a multicharacter char literal. It is not part of standard
> C++,
That was what I thought, but it's ok, although its value is
implementation-defined. See 2.13.2/1
> not portable in general, and AFAIK a gcc extension. If you
> mean a tab, use \t.
[snip]
--
Oscar