Path: utzoo!attcan!uunet!mcvax!enea!pvab!robert From: robert@pvab.UUCP (Robert Claeson) Newsgroups: comp.lang.c++ Subject: Re: Managing C++ Libraries: Dependencies and Headers Summary: Implicit includes? Message-ID: <339@pvab.UUCP> Date: 8 Nov 88 08:43:55 GMT References: <5078@thorin.cs.unc.edu> <7573@nsc.nsc.com> <8370@nlm-mcs.arpa> Organization: ERBE Data AB, Sweden Lines: 15 In article <8370@nlm-mcs.arpa>, mjr@vax2.nlm.nih.gov.nlm.nih.gov (Marcus J. Ranum) writes: > If we assume that the job of the > preprocessor is to handle file inclusion and conditional compilation, > I'd suggest that it could be replaced with something that acted more > like a linker than a pre-processor. If such a pre-linker/processor is implemented, maybe we wouldn't need to explicitly #include files anymore? The preprocessor could look for declarations of external objects and identifiers in a database or library much in the same way as 'ld' does today. -- Robert Claeson, ERBE DATA AB, P.O. Box 77, S-175 22 Jarfalla, Sweden Tel: +46 758-202 50 Fax: +46 758-197 20 EUnet: rclaeson@erbe.se ARPAnet: rclaeson%erbe.se@uunet.uu.net