Method call args order
Method call args order
- Subject: Method call args order
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 25 Sep 2006 17:11:47 +0200
Hello,
I have problems with this function call:
int i=0;
printf("Format %i, %i\n", i++, i++);
When i compile it for Intel platform the output is ‘Format: 1, 0' but
if i compile it for ppc the output is 'Format: 0, 1'.
More generaly, if I call a function with dynamic arguments, arguments
are resolved in reverse order on Intel and in natural order on PPC.
Is it a gcc expected behaviours or should i report a bug?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden