"Bob Paddock" <[EMAIL PROTECTED]> wrote:

> Lint would not like it.  In this case there is no issue with that
> usage, but I don't like relying on implied evaluations as they can
> lead to very subtle bugs.

But implying a particular GCC version would automatically also use
some specific avr-libc version is IMHO even worse.

The ``politically correct'' way would be to use something like
autoconf, and probe for the existance of <avr/version.h>.  If it's
missing, set __AVR_LIBC_VERSION__ to a low value (e.g. 1) from the
command-line.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to