Xref: utzoo comp.software-eng:1159 comp.lang.c++:2672 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!haven!uvaarpa!mcnc!thorin!coggins!coggins From: coggins@coggins.cs.unc.edu (Dr. James Coggins) Newsgroups: comp.software-eng,comp.lang.c++ Subject: Re: Recursive #includes Keywords: recursive includes, modularity Message-ID: <6989@thorin.cs.unc.edu> Date: 27 Feb 89 14:04:23 GMT References: <570@marob.MASA.COM> <2630@pegasus.ATT.COM> Sender: news@thorin.cs.unc.edu Reply-To: coggins@cs.unc.edu (Dr. James Coggins) Organization: University Of North Carolina, Chapel Hill Lines: 41 In article <2630@pegasus.ATT.COM> psrc@pegasus.ATT.COM (Paul S. R. Chisholm) writes: > >This issue was beaten to death a few weeks ago in the comp.lang.c++ >news group. The obvious proposal is to not #include a file that's >already been #included, even if you see a second (or third, or forty- >second) #include for it. > >Paul S. R. Chisholm, AT&T Bell Laboratories, att!pegasus!psrc I was one of the principal beaters of this topic. My net postings have been cleaned up, enhanced, and submitted to SIGPLAN Notices (no idea yet on publication date). They are also available as a technical report from my department's SoftLab (software research laboratory). You can either watch SIGPLAN for J. Coggins and G. Bollella, "Managing C++ Libraries" or e-mail for a copy of our technical report (which will soon include an addendum with some further techniques) to Pam Payne, Softlab Coordinator at softlab@cs.unc.edu or to the address below. The organization scheme I descibed requires no preprocessor hacks, includes headers once and once only, imposes minimally on the program development process, and is still working well with VERY little maintenance required. In fact, we have extended it recently to handle compilations of my research library for multiple architectures (Sun3, Sun4, Vax780) and are preparing to incorporate RCS support directly into the management structure. (These points will be described in the addendum to the SoftLab TR). USmail for the tech report: Pam Payne, SoftLab Coordinator Computer Science Department CB#3175 University of North Carolina Chapel Hill, NC 27599-3175 --------------------------------------------------------------------- Dr. James M. Coggins coggins@cs.unc.edu Computer Science Department UNC-Chapel Hill Whaat! is the sound of an issue being Chapel Hill, NC 27514-3175 beaten to death! ---------------------------------------------------------------------