Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: longer 'char literals' meaning in c Date: Fri, 01 May 2020 09:57:59 -0700 Organization: None to speak of Lines: 20 Message-ID: <878sib4mp4.fsf@nosuchdomain.example.com> References: <9bf151f2-e3f8-488b-bf10-9ba136d23a4f@googlegroups.com> <87sggk665l.fsf@nosuchdomain.example.com> <874kt061yl.fsf@nosuchdomain.example.com> <87tv104ij2.fsf@nosuchdomain.example.com> <4lKqG.254784$mk2.321@fx21.am4> <87lfmc4dwh.fsf@nosuchdomain.example.com> <4aea0111-3c1d-4763-82b5-20c56d0a7ad8@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="3a8562cb4f6a88758e42aeb600e70f1e"; logging-data="12545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WFv7xF1naaRpQ4rlQmtXr" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cancel-Lock: sha1:6EmQOFk5l3QNBw872olkd2UABRM= sha1:Cb9tjql+PjV56pfqguORd8QwxJw= Xref: csiph.com comp.lang.c:151925 Bart writes: [...] > It says lexical error (I thought I'd posted it, but maybe I then > edited it out): > > Lexical error: max of 4 characters in string exceeded > > and doesn't produce an object file. It that's non-conforming then I > don't care; it's good that Walter Bright (the author of DMC and > inventor of D) seems to share my opinion. (However, he appears to have > dropped multi-char literals altogether in D; not so good.) You don't care that it's non-conforming. That's fine. But if you don't care, don't waste everyone's time arguing with me when I say that it's non-conforming. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips Healthcare void Void(void) { Void(); } /* The recursive call of the void */