From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-06-16 06:13:23
>Why, because of 4.10.1 ?
Nevertheless I heard of this problem before related to porting to 64bit
discussions. But this is thus a non-conforming-compiler issue ? Probably
the compiler-problem originates from the compilers originally taking
only 32bit platforms into account.
I'm saying that this is only an issue if you pass a litteral 0 through a
variable parameter list - it will get passed as an *int* and depending upon
the platform the width of an int may not be same as the width of void*
(obviously). There is nothing surprising about that, you just shouldn't do
it, and this is just one reason why variable parameter lists are frowned
upon in C++.
- John Maddock
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk