Comment

Comment by AdieuToLogic

>> Works if you supply the correct include path(s)

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

>> You could arguably fault ccc's driver for not specifying the include path to find the native C library on this system.

This is not a good implementation decision for a compiler which is not the C compiler distributed with the OS. Even though Standard C headers have well-defined names and public contracts, how they are defined is very much compiler specific.

So this defect is a "somethingburger."

parent AdieuToLogic 8 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton