On Mon, Jul 07, 2003 at 10:09:05AM -0500, David A. Gobeille wrote:
[snip]
>
> Shouldn't the #included files themselves #include headers they are
> dependant on? With the use of #ifndef and #define in the headers to
> keep them from being #included more than once?
>
> It seems silly(more work) for the programmer to have to arrange
> everything in a specific order.
Search the list archives for 'promiscuous includes'; I believe this
has been discussed time and again over the years :)
G'luck,
Peter
--
Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
This sentence would be seven words long if it were six words shorter.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)
iD8DBQE/CZCl7Ri2jRYZRVMRAp0+AJ0Vc0qChwmsNRdmn4rCXujm8w/ctgCdFq9T
NuKpG8zLMk/opsbSWT6mF0o=
=Pfbz
-----END PGP SIGNATURE-----