[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] gcc head is now 3.3
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] gcc head is now 3.3 |
Date: |
Wed, 31 Jul 2002 11:51:35 +0200 |
User-agent: |
Mutt/1.2.5i |
As Theodore Roth wrote:
> It looks like the gcc cvs head has been bumped to 3.3.
Oh, that should also give official 3.2 snapshots now. Fine for
my FreeBSD packages.
> Does this patch
> look like the right thing to do?
Hmm.
> -#if (__GNUC__ != 3) || (__GNUC_MINOR__ != 2)
> -#error "GCC version 3.2 required"
> +#if (__GNUC__ < 3) || (__GNUC_MINOR__ < 2)
> +#error "GCC version >= 3.2 required"
I'd say
#if (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 2)
That'll make it gcc 4 safe. :-)
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/