Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2003 18:24:21 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        "David A. Gobeille" <dgobeille@earthlink.net>
Cc:        Alin-Adrian Anton <aanton@reversedhell.net>
Subject:   Re: raw socket programming SOLVED
Message-ID:  <20030707152421.GE358@straylight.oblivion.bg>
In-Reply-To: <3F098D11.2070802@earthlink.net>
References:  <0193271C683D5844A478A359271B8F66147AD8@DC1.dynatec.com> <3F07860E.9060702@reversedhell.net> <20030707162900.B49607@beagle.fokus.fraunhofer.de> <3F078DC9.3080708@reversedhell.net> <20030707164832.L49607@beagle.fokus.fraunhofer.de> <3F0790EF.10407@reversedhell.net> <3F098D11.2070802@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--4Epv4kl9IRBfg3rk
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 07, 2003 at 10:09:05AM -0500, David A. Gobeille wrote:
[snip]
>=20
> Shouldn't the #included files themselves #include headers they are=20
> dependant on?  With the use of #ifndef and #define in the headers to=20
> keep them from being #included more than once?
>=20
> It seems silly(more work) for the programmer to have to arrange=20
> 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

--=20
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.

--4Epv4kl9IRBfg3rk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/CZCl7Ri2jRYZRVMRAp0+AJ0Vc0qChwmsNRdmn4rCXujm8w/ctgCdFq9T
NuKpG8zLMk/opsbSWT6mF0o=
=Pfbz
-----END PGP SIGNATURE-----

--4Epv4kl9IRBfg3rk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030707152421.GE358>