top | item 46928841

(no title)

d_silin | 22 days ago

"The location of Standard C headers do not need to be supplied to a conformant compiler."

From https://news.ycombinator.com/item?id=46920922 discussion.

discuss

order

vidarh|22 days ago

And it doesn't for the compiler in question either. As long as the headers exist in the places it looks for them. No compiler magically knows where the headers are if you haven't placed them in the right location

Retr0id|22 days ago

stddef.h (et al) should be shipped by the compiler itself, and so it should know where it is. But they rely on gcc for it, hence it doesn't always know where to look. Seems totally fine for a prototype.

d_silin|22 days ago

Would you accept the same quality of implementation from a human team?