Remix.run Logo
chirsz 5 hours ago

The behavior of C macros is actually described by a piece of pseudocode from Dave Prosser and it is not in the standard:

* https://www.spinellis.gr/blog/20060626/

* https://www.spinellis.gr/pubs/jrnl/2006-DDJ-Finessing/html/S...

* https://gcc.gnu.org/legacy-ml/gcc-prs/2001-q1/msg00495.html

viega 4 hours ago | parent | next [-]

Wow, I'm not sure I've ever seen this (or if I did, it was 20 years ago).

And I was definitely looking around for this kind of history when I was searching around when writing. Perhaps my google skills have decayed... or google... or both!

Thanks very much.

camel-cdr 2 hours ago | parent | prev [-]

This is the best explanation I've seen so far:

https://marc.info/?l=boost&m=118835769257658&w=2