Messages in this thread | | | Date | Tue, 19 May 1998 14:19:00 +1200 | From | Chris Wedgwood <> | Subject | Re: Egcs 1.0.3 & Linux |
| |
> Unfortunatelly "bug in source code" is VERY VERY week conception. Simple > example: > > #include <stdio.h> > int a=0; > int f(void) { a=1;return 1; } > void main(void) { printf("%d",f()+a); }
I was under the impression that in the case of equal operator precedence the order was defined to be strictly left to right, so in this case it should return 2 and never 1.
-Chris
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |