home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18398 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.8 KB  |  46 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!well!comeau
  3. From: comeau@csanta.attmail.com (Greg Comeau)
  4. Subject: Re: Version Strings...
  5. Message-ID: <C0KA0B.Jv0@well.sf.ca.us>
  6. Originator: comeau@well.sf.ca.us
  7. Sender: news@well.sf.ca.us
  8. Reply-To: comeau@csanta.attmail.com (Greg Comeau)
  9. Organization: Comeau Computing
  10. References: <1993Jan8.111612.25180@sunbim.be> <1993Jan8.145323.29380@samba.oit.unc.edu>
  11. Date: Sat, 9 Jan 1993 00:43:23 GMT
  12. Lines: 32
  13.  
  14. In article <1993Jan8.145323.29380@samba.oit.unc.edu> Todd_Lewis@unc.edu (Todd M. Lewis) writes:
  15. >In article <1993Jan8.111612.25180@sunbim.be> accs1@bagheera.mumath writes:
  16. >>
  17. >>>UBYTE Version[] = "\0$VER: ProgName 1.0 (7.1.92)";
  18. >>
  19. >>I wonder why that stays in the executable. I would expect a good compiler  
  20. >>would through that line away unless it is really referenced.
  21. >
  22. >....I'm not sure I would
  23. >call a compiler "good" if it started getting in the way building programs.
  24.  
  25. Yes and no.  This is one of those judegement call issues.
  26. I've seen this specific situation go either way.  That is, OTOOH, it
  27. isn't referenced as far as the linker is concerned, so what good is it?
  28. OTOH, there are enough cases like I've seen over the years like Version 
  29. or even trigger information for subsequent events in the compilations.
  30. Becomes like a question of when it smart dumb, and even when is smart
  31. being too smart.
  32.  
  33. >Perhaps a "really good" compiler would have an option to turn off some
  34.  
  35. >optimizations in selected places.
  36.  
  37. That can help in some cases, but even that may not always be good
  38. enough.  Especially in a different language.
  39.  
  40. - Greg
  41. -- 
  42.          Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
  43.                    Producers of Comeau C++ 3.0 With Templates
  44.           Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421
  45.         Voice:718-945-0009 / Fax:718-441-2310 / Prodigy: tshp50a
  46.