|
Message-ID: <20170417172918.GL2082@port70.net> Date: Mon, 17 Apr 2017 19:29:19 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: superfluous space char in marco * Rich Felker <dalias@...c.org> [2017-04-17 13:02:08 -0400]: > On Mon, Apr 17, 2017 at 06:28:58PM +0300, Alexander Monakov wrote: > > On Mon, 17 Apr 2017, Rich Felker wrote: > > > This is odd and looks like a gcc bug. Preprocessor macros definitions > > > are sequences of PP tokens, not literal code strings, meaning that > > > whitespace is irrelevant as long as the resulting sequence of PP > > > tokens remains the same; it's a matching definition not a > > > redefinition. > > > > No, according to C11 6.10.3 p1 presence of whitespace is significant (its > > contents are not), and 6.10.3.5 example 6 corroborates that. GCC, Clang, > > ICC and MSVC on Godbolt all agree with that. > > Thanks for clarifying! I had forgotten this detail. It probably makes > sense to change it, then. linux uapi header has whitespace befor IFF_MASTER if we match the definition with something i think it should be the linux header not iproute2
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.