[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] avrdude on Windows
From: |
Joerg Wunsch |
Subject: |
Re: [avrdude-dev] avrdude on Windows |
Date: |
Thu, 13 Feb 2003 20:53:57 +0100 |
User-agent: |
Mutt/1.2.5i |
As E. Weddington wrote:
> > enum {
> > PPIDATA,
> > PPICTRL,
> > PPISTATUS
> > };
> >
>
> Suggestion:
>
> enum {
> PPIDATA = 0,
> PPICTRL = 1,
> PPISTATUS = 2
> };
Per definitionem, that's the same.
``Semantics
...
3 The identifiers in an enumerator list are declared as constants that
have type int and may appear wherever such are permitted.107) An
enumerator with = defines its enumeration constant as the value of
the constant expression. If the first enumerator has no =, the value
of its enumeration constant is 0. Each subsequent enumerator with no
= defines its enumeration constant as the value of the constant
expression obtained by adding 1 to the value of the previous
enumeration constant.''
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
- Re: [avrdude-dev] avrdude on Windows, (continued)
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Theodore A. Roth, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Brian Dean, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Brian Dean, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows,
Joerg Wunsch <=
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Joerg Wunsch, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Brian Dean, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Theodore A. Roth, 2003/02/13