From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f0aecf9351d714ac X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps82.POSTED!023a3d7c!not-for-mail Sender: blaak@METROID Newsgroups: comp.lang.ada Subject: Re: C Macros and their equivalent in Ada References: <09eec7f8-f88a-4fa7-9626-2db0455a391a@l43g2000hsh.googlegroups.com> From: Ray Blaak Message-ID: Organization: The Transcend User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 Sep 2008 00:16:58 GMT NNTP-Posting-Host: 208.66.252.228 X-Trace: edtnps82 1221005818 208.66.252.228 (Tue, 09 Sep 2008 18:16:58 MDT) NNTP-Posting-Date: Tue, 09 Sep 2008 18:16:58 MDT Xref: g2news1.google.com comp.lang.ada:1966 Date: 2008-09-10T00:16:58+00:00 List-Id: "RasikaSrinivasan@gmail.com" writes: > I have a similar solution implemented. thanks. was just trying to > figure out if there was anything recent. I would argue that generating the version file explicitly from a build script is actually superior to __DATE__/__TIME__ macros, since the actual compilation build time is often inconsistent. If the version file has not actually changed in a while, for example, typical build environments just use the last object file, meaning the datestamps can be quite obsolete and thus inaccurate. By tying it to the build script, you can do things like saying "make a official release NOW", and know that the version datestamp is tied to that explicit action. This is important to allow one to correlate the datestamp to changelongs, release notes, etc. -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, rAYblaaK@STRIPCAPStelus.net The Rhythm has my soul.