home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!well!comeau
- From: comeau@csanta.attmail.com (Greg Comeau)
- Subject: Re: Version Strings...
- Message-ID: <C0KB7x.KnE@well.sf.ca.us>
- Originator: comeau@well.sf.ca.us
- Sender: news@well.sf.ca.us
- Reply-To: comeau@csanta.attmail.com (Greg Comeau)
- Organization: Comeau Computing
- References: <1993Jan8.111612.25180@sunbim.be> <1993Jan8.145323.29380@samba.oit.unc.edu> <1571@blue.cis.pitt.edu>
- Date: Sat, 9 Jan 1993 01:09:33 GMT
- Lines: 32
-
- In article <1571@blue.cis.pitt.edu> stern+@pitt.edu (Eric G Stern) writes:
- >In article <1993Jan8.111612.25180@sunbim.be> accs1@bagheera.mumath writes:
- >>
- >>UBYTE Version[] = "\0$VER: ProgName 1.0 (7.1.92)";
- >>
- >>I wonder why that stays in the executable. I would expect a good compiler
- >>would through that line away unless it is really referenced.
- >
- >
- >If the variable is defined outside a function so that it
- >is global, then the compiler can't know that it is not referenced
- >in some other possibly separately compiled module and so it
- >has to leave it in.
-
- That suffers from that it views a compiler from what I guess is best termed
- as a traditional approach wheeas their are explicit things like source
- files as well as explicit things like command line compilers (or even
- IDE ones) that get provoked by the user for some response. Even at that
- though it suffers from the view of traditional implementations and thier
- lack of willingness to socialize with themselves (there can be some level
- of smarts in which the compiler can conspire with itself to arrange some
- of these). Additional suffering come in that it doesn't view that the
- the compiler can leave the situation in the hands of a so-called
- traditional linker, or that a "compiler system" should be able to make
- some arrangement for this.
-
- - Greg
- --
- Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
- Producers of Comeau C++ 3.0 With Templates
- Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421
- Voice:718-945-0009 / Fax:718-441-2310 / Prodigy: tshp50a
-