Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

how do i make file

Name: Anonymous 2015-02-20 20:14

Incremental compilation is nice, but expressing dependencies between objects, sources and headers is a pain in the ass. gcc -M is utter garbage not unlike GCC itself and generates thirty to fifty useless prerequisites per file in case one of the system headers changes. Gotta make sure, the user might be retarded after all.

How do I write good make files and still have time for actual programming?

Name: Anonymous 2015-02-25 18:19

>>14
That would work, but you shouldn't need to if you don't allow headers to include other headers.
That's what it fucking does!

You want policy without enforcement? Why bother writing C? Just use BCPL. Less pesky types for the compiler to complain about.

>>16
Double-inclusion is fine if you eliminate the redundant includes and don't use state in headers. State and cycles are the only real problems. But y'all want state. You praise Plan 9 while you use GNU feature macros in header files.

>>20
Header guards and pragmas are all you get, but it's still good. Want to fix the problem outright? Modules. Need feature macros? Parameterize or recompile the module.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List