home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!mcsun!ub4b!sunbim!usenet
- From: accs1@bagheera.mumath
- Subject: Re: Version Strings...
- Message-ID: <1993Jan11.084248.4835@sunbim.be>
- Sender: usenet@sunbim.be (user news)
- Reply-To: accs1@bagheera.mumath
- Organization: Sun Microsystems
- References: <1993Jan8.145323.29380@samba.oit.unc.edu>
- Date: Mon, 11 Jan 93 08:42:48 GMT
- Lines: 29
-
- In article 29380@samba.oit.unc.edu, Todd_Lewis@unc.edu (Todd M. Lewis) 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.
- >
- >It _IS_ really referenced--by the Version program. I'm not sure I would
- >call a compiler "good" if it started getting in the way building programs.
- >Perhaps a "really good" compiler would have an option to turn off some
- >optimizations in selected places.
- >--
- > _/_/_/ _/ Todd_Lewis@unc.edu You can lead a horse to
- > _/ _/ utoddl@guitar.oit.unc.edu Mohammad, but you can't make
- > _/ _/_/_/ a mountain drink a mole hill.
-
-
- I meant referenced by the program it is contained in. I agree, an option would
- be nice and the default should be 'get unreferenced variable space' out of
- the executable.
-
- Besides, I think a much better declaration of the above would be
-
- const UBYTE Version[] = "\0$VER: ProgName 1.0 (7.1.92)";
-
- as I don't think the program it is contained in should change the version string.
-
- Frank
-