From: Michael H. <mic...@ju...> - 2002-03-11 17:37:28
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 11 Mar 2002 pa...@pj... wrote: > >Making a new release is a lot of work, building, packaging, updating > >the WebPages .... as much as I would like to make a new release as > >frequently as possible it is difficult (with all of us having full > >time jobs :-) ...)... > > While we're on this topic, I'd like to propose the idea of adding > some #defines with CVS auto-generated strings for some critical > files, so that I could do something like this: > > #if SDCC_CVS_mcs51_ralloc < 1.89 || SDCC_CVS_mcs51_gen < 1.127 > #warn "Your SDCC is an old rev with known bugs (that have been fixed)" > #error "You must update SDCC to compile this code!" > #endif How about a build number instead. It's easy enough to make the automated build increment a global version each time it runs. We could then use the exiting __VERION__ like defines to include the build in a meaningful way. Keeps the solution nice and global without polluting the define namespace. - -- Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (OpenBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyM6rsACgkQ3L3H1ImjCiSriQCcD8wYy56YtAHpX+UZ0UeaYSIL 9soAoLnA2KtiLoePYZawBKRaXqbpGf3P =bk5J -----END PGP SIGNATURE----- |