home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / cplus / 16823 < prev    next >
Encoding:
Text File  |  1992-11-24  |  1.7 KB  |  36 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!borland.com!pete
  3. From: pete@borland.com (Pete Becker)
  4. Subject: Re: Idempotent header file proposal
  5. Message-ID: <1992Nov24.030226.29788@borland.com>
  6. Originator: pete@genghis.borland.com
  7. Sender: news@borland.com (News Admin)
  8. Organization: Borland International
  9. References: <722547379snx@trmphrst.demon.co.uk>
  10. Date: Tue, 24 Nov 1992 03:02:26 GMT
  11. Lines: 23
  12.  
  13. In article <722547379snx@trmphrst.demon.co.uk> nikki@trmphrst.demon.co.uk writes:
  14. >In article <1992Nov20.200435.18239@microsoft.com> jimad@microsoft.com (Jim Adcock) writes:
  15. >> Ultimately we will begin to see more and more C++
  16. >> development environments that not only offer precompiled headers, but
  17. >> incremental compile/link support as well.
  18. >It is unfortunate that most of the current compilers which have
  19. >precompiled headers have such restrictions on their use, and such arcane 
  20. >command lines to use them, that they introduce problems, rather than 
  21. >solving them.
  22. >
  23. >For example, all the compilers I have seen with this feature insist that 
  24. >all modules that use the precompiled headers include the same headers, in 
  25. >exactly the same order. This encourages users to include ALL their headers
  26. >in all their modules. This introduces lots of unnecessary dependencies, 
  27. >and means a very slow compile cycle when the code is moved to another 
  28. >compiler, without precompiled headers.
  29. >
  30.  
  31.     BC permits you to include headers in whatever order you want, and the
  32. "arcane" command line is -H.  There are additional things you can do to tune
  33. the performance, such as using all the same headers in the same order in 
  34. several different compilation units, but that is not required.
  35.     -- Pete
  36.