Usually I read the code before using any program.
Using `void main()' is not only bad style, it's a bug (in a hosted implementation). Void main() might work, or might not work, or might kill my cat.Void main() invokes undefined behavior. Any compiler is free to accept / reject it. Even if the compiler accepts it, no guarantee that the program won't crash when entering or exiting the main function. Do this answer your question?
Usually I read the code before using any program.
Using `void main()' is not only bad style, it's a bug (in a hosted implementation). Void main() might work, or might not work, or might kill my cat.Void main() invokes undefined behavior. Any compiler is free to accept / reject it. Even if the compiler accepts it, no guarantee that the program won't crash when entering or exiting the main function. Do this answer your question?
$ cd qmail-1.03
$ grep 'void main' *.c | wc -l
61
Probably works, but I never would trust code like this.
huh..., then something is wrong. The 1.6MB FreeBSD 3.4 kernel compiles in about 3 minutes with my Dual PII-400, the Linux 2.2.14 is about the same.
2.5 hours?? Maybe a "make world".