avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Question about gcc preprocessing and port/pin assign


From: Curtis Maloney
Subject: Re: [avr-gcc-list] Question about gcc preprocessing and port/pin assignments
Date: Fri, 10 Dec 2004 11:44:34 +1100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

wbounce wrote:
C DOES have order of operation and operations on the same level are
supposed to be processed left to right.


I went through this recently at work for some reason, so I consulted my handy copy of the C99 spec.

Section 6.5, paragraph 3:

"The grouping of operators and operands is indicated by the syntax. Except as specified later ( for the function-call (), &&, ||, ?: and comma operators), the order of evaluation of subexpressions and the order in which side effects take place are both unspecified."

--
Curtis Maloney


reply via email to

[Prev in Thread] Current Thread [Next in Thread]