Subject: Re: problems with arpa/inet.h
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: current-users
Date: 06/09/1998 07:49:14
>> Multiple inclusion protection does not keep cpp from reading the
>> whole header each time it is #included.
> This is just a SMOP.  Nothing prevents the compiler from noticing
> when a file consists entirely of comments, blank lines, and lines
> that are wrapped in a single #if or #ifdef block, [and
> short-circuiting extra inclusions when possible]

Quite so.  And the GNU cpp does this - or at least the docs claim it
does; I haven't gone to the trouble to verify it myself - at least when
the wrapper condition is of the canonical #ifndef form.

We *do* use the GNU cpp, don't we?

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B