Date: 10 Dec 1998 23:48:22 -0600 From: Joel Ray Holveck <joelh@gnu.org> To: Alfred Perlstein <bright@hotjobs.com> Cc: rssh@grad.kiev.ua, hackers@FreeBSD.ORG Subject: Re: inclusion of system headers. Message-ID: <8667bjgrfd.fsf@detlev.UUCP> In-Reply-To: Alfred Perlstein's message of "Wed, 9 Dec 1998 12:33:49 -0500 (EST)" References: <Pine.BSF.4.05.9812091223220.27793-100000@bright.fx.genx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>>> b) it slows compile time signifigantly >> it is 3 strings of empty cpp output on one header inclusion. >> Is it really slow compilation ? Where and when it was ? > uh, no. Usually the #ifndef is inside the included file, which means > opening the include files multiple times and parsing them just to abort. Many modern compilers (including gcc) will detect when an entire header file is #ifdef'd, and DTRT. Happy hacking, joelh -- Joel Ray Holveck - joelh@gnu.org Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8667bjgrfd.fsf>