Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: 2.1.115-4 and SPARC64 | Date | 6 Aug 1998 19:50:08 GMT |
| |
Followup to: <199808060700.AAA01869@dm.cobaltmicro.com> By author: "David S. Miller" <davem@dm.cobaltmicro.com> In newsgroup: linux.dev.kernel > > Date: Wed, 05 Aug 1998 20:34:22 -0500 > From: Horst von Brand <vonbrand@sleipnir.valparaiso.cl> > > This gem won't work whenever we get gcc-3.0... > > It works for egcs, which is why I put it there, because the type has > changed in the recent sparc64 ABI specs. > > (note: it's GCC_MINOR not GCC_MAJOR I am testing there) >
The point is that you should be doing something like:
#if (GCC_MAJOR > 2) || (GCC_MINOR > 7)
as opposed to testing GCC_MINOR alone.
-hpa -- PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74 See http://www.zytor.com/~hpa/ for web page and full PGP public key I am Bahá'í -- ask me about it or see http://www.bahai.org/ "To love another person is to see the face of God." -- Les Misérables
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |