Re: define and single quotes and C++11 vs 14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017/2/7 14:58, Liu Hao wrote:
That is incorrect. `1'b0` is a valid a preprocessing number token, in
spite that it is not valid. (See paragraph 4 after the one you quoted.)

The following program concatenates two invalid PP tokens, yielding a
valid PP integral token that has the value `0x1b0`:
Sorry for the typo. It should be:

That is incorrect. `1'b0` is a valid a preprocessing number token, in
spite that it is not _a_ valid _integral literal_. (See paragraph 4 after the one you quoted.)

The following program concatenates two invalid _integral literals_, yielding a valid _integral literal_ that has the value `0x1b0`:


--
Best regards,
ltpmouse



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux