Subject: Re: [SG15] [Denver SG15 Meeting Paper] D1857r0.0: Modules Dependency Discovery
From: Matthew Woehlke (mwoehlke.floss_at_[hidden])
Date: 2019-09-20 12:26:37
On 30/08/2019 21.26, Michael Spencer via SG15 wrote:
> I've attached a paper I've written for the upcoming Denver SG15 meeting and
> the Belfast meeting.
> "This [...] is correct for standard C++ except for abuse of
> `__LINE__` such as `#if __LINE__ > 456`.
...and even then, presumably an implementation could keep track of
original line numbers which would let it handle such pathological cases.
> The dependency scanner succeeds and then the compiler sees the code and
> iÌ´ÌÌgÌ¸ÌÌ Ì³ÍÌ»nÌ¸Í Ì ÌÌ¾ÌÌ§Ì±ÌoÌ¶ÍÍÍÌ²Ì³Ì«rÌµÌÌÍÍÍÌºÌ±ÍÌ©ÍeÌ¸Ì¾ÌsÌ¸ÍÌÍÌÌÌ®Ì°Ì»Ì¥ Ì´ÌÌ¤ÍiÌ¸ÌÍÌ¬mÌµÌ¿ÌÌÍpÌ·ÌÌÌ½ÌÌÌ£Ì¹Ì¢oÌ´ÌÍÌÌÌ¨ÌÌÌ±rÌ¸ÌÌÌ¾Ì»Í ÌÌªÌ¨tÌµÌÌsÌ¸ÍÌÌÌ©ÍÌÌ¼ ÌµÌÍÌ¤eÌ¶ÍÌÌ¹Ì«Ì§Ì¥rÌµÍÍÍÌ¦rÌµÌÍÌ¿Ì©Ì²oÌ¸ÌÍÍÍÍÌ¨ÌÌrÌ·ÌÌÍÌÌ¥Ì¬Ì²ÍsÌ·ÌÌ°Í Ì ÍÌ¤ due to undefined behavior.
What on Earth happened here?
Anyway, thanks for the paper!
SG15 list run by herb.sutter at gmail.com