[Vm-dev] usage of bitShift: in VMMaker & plugins

John M McIntosh johnmci at smalltalkconsulting.com
Fri Jan 8 19:03:22 UTC 2010


On 2010-01-08, at 5:06 AM, Nicolas Cellier wrote:

> 
> Sure, hope this scale is universal:
> make it right > make it fast
> If in some cases we can make it both + simple, let's just do it :)
> 
> Maybe some of the 64bit uncompatibilities can be harvested by tracking
> compiler warnings like these:
> /Users/nicolas/Smalltalk/Squeak/trunk/src/vm/intplugins/SocketPlugin/SocketPlugin.c:288:0
> Implicit declaration of function 'sqResolverGetAddressInfoFamily'
> /Users/nicolas/Smalltalk/Squeak/trunk/src/vm/intplugins/AsynchFilePlugin/AsynchFilePlugin.c:237:0
> Passing argument 2 of 'asyncFileReadResult' makes integer from pointer
> without a cast

I cleaned up the sqResolverGetAddressInfoFamily in my 64bit work .

I've not built the asnyc plugin  yet, but it's incorrect for 64bit work given it uses 'int' everywhere in the headers.  


--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================






More information about the Vm-dev mailing list