David Nolden wrote:
> Am Montag, 9. Juli 2007 02:06:36 schrieb Matthew
Woehlke:
>> Bernd Buschinski wrote:
>>> int = void*
>>> doesnt work on x64 because of the difference in
size
>>> patch fixes typo/mismatch
>> Please note that if sizeof(void*) == sizeof(numeric
type) is the
>> objective, 'long' does not satisfy this on Windows
:-(.
>
> In this case it all doesn't matter, because the value
is just an index in a
> not big array.
Right. That being the case, however, I share your confusion
why this is
needed in the first place. If there is some odd reason that
the numeric
must be sizeof(void*), then it would be good to understand
that and to
know if it will bite Windows also (in which case using
'long' is not
sufficient).
--
Matthew
"What is a release plan, anyway?" -- Oswald
Buddenhagen
...who I'm sure did not mean it seriously
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel
|