[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline...
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline... |
Date: |
Mon, 23 Jul 2012 21:00:30 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
As Weddington, Eric wrote:
> I would hate to say, "We have to use C99 for some avr-libc modules
> (atomic.h), but we guarantee C89 compliance for other avr-libc
> modules (delay.h)". We really should be consistent across the whole
> project. Which means that if we guarantee C89 compliance for one
> module, then it needs to be guaranteed for everything in avr-libc,
> and we document what standard we comply too.
I'd say we *guarantee* C99 compliance, but wherever compliance to
older standards could be reasonably had, I don't mind maintaining it
that way.
Whenever compliance to C89/C90 would require a tradeoff, C99 takes
precedence. However, writing a couple of underscores in front of a
keyword is nothing worth talking about, I think.
> Another data point: In the somewhat "standard" Makefile that we put
> together for AVR applications, we always set the --std flag to gnu99
> for compiling AVR applications.
Well, "gnu99" is yet another thing, we should make sure everything
works with "c99" (i.e., without the GNU extensions).
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
- [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Georg-Johann Lay, 2012/07/23
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Weddington, Eric, 2012/07/23
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Joerg Wunsch, 2012/07/23
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Weddington, Eric, 2012/07/23
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Joerg Wunsch, 2012/07/23
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Weddington, Eric, 2012/07/23
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Joerg Wunsch, 2012/07/23
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Weddington, Eric, 2012/07/23
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline...,
Joerg Wunsch <=
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., David Brown, 2012/07/24
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Weddington, Eric, 2012/07/24
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., David Brown, 2012/07/24
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Joerg Wunsch, 2012/07/24
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Weddington, Eric, 2012/07/24
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Georg-Johann Lay, 2012/07/24
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Joerg Wunsch, 2012/07/24
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., David Brown, 2012/07/24
- Re: [avr-libc-dev] [bug #36921] util/delay.h uses inline..., Joerg Wunsch, 2012/07/25