This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC 3.0 release criteria - __GNUC_MINOR__
- To: gcc at gcc dot gnu dot org
- Subject: GCC 3.0 release criteria - __GNUC_MINOR__
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Wed, 26 Apr 2000 20:06:39 +0100 (BST)
I presume that GCC 3.0 will change __GNUC__ to 3 and __GNUC_MINOR__ to
0. There is software out there (including Linux 2.2.14, listed as one of
the test packages for GCC 3.0) which has broken tests assuming that
__GNUC__ remains 2 and __GNUC_MINOR does not fall back to 0, such as
include/linux/init.h:#if __GNUC__ >= 2 && __GNUC_MINOR__ >= 8
include/asm-alpha/byteorder.h:#if defined(__GNUC__) && __GNUC_MINOR__ < 91
While in most cases this may not break the software involved but simply
reduce efficiency, it would probably be a good idea before the release for
someone to grep large source trees (e.g. Linux distributions, BSDs) for
incorrect use of __GNUC_MINOR__, so patches can be distributed.
--
Joseph S. Myers
jsm28@cam.ac.uk