3 ms·
In fairness, that's just including the function prototypes. You don't need to explicitly link in libc most of the time.
by chc 16y ago
In fairness, that's just including the function prototypes. You don't need to explicitly link in libc most of the time.
- jrockway 16y agoBut it's being implicitly linked in, so what's your point?
- chc 16y agoThe point is that it's already included unless you specifically exclude it. If we take "pull" as a volitional action rather than a passive allowance, then we don't need to "pull" any libraries. I'm really just playing devil's advocate here (which is why I prefaced it with "To be fair…"). From the considerable amount of hate (rather than calm dismissal) the comment seemed to be getting, I felt that people weren't bothering to think it through. joshwa's response seemed to indicate that "#include <stdio.h>" was pulling in a library, which is at least as wrong.