Re: stdarg x86_64 problems...

2012-07-12 Thread Don Clugston
On 12/07/12 11:12, John Colvin wrote: When I compile the following code with -m32 and -m64 i get a totally different result, the documentation suggests that they should be the same... import core.stdc.stdarg, std.stdio; void main() { foo(0,5,4,3); } void foo(int dummy, ...) { va_list

Re: stdarg x86_64 problems...

2012-07-12 Thread Jonathan M Davis
On Thursday, July 12, 2012 11:12:08 John Colvin wrote: > When I compile the following code with -m32 and -m64 i get a > totally different result, the documentation suggests that they > should be the same... > > import core.stdc.stdarg, std.stdio; > > void main() { > foo(0,5,4,3); > } > > v

stdarg x86_64 problems...

2012-07-12 Thread John Colvin
When I compile the following code with -m32 and -m64 i get a totally different result, the documentation suggests that they should be the same... import core.stdc.stdarg, std.stdio; void main() { foo(0,5,4,3); } void foo(int dummy, ...) { va_list ap; f