[Vm-dev] NativeBoost installation woes with Mac OS X

Lawson English lenglish5 at cox.net
Fri Sep 30 20:42:47 UTC 2011


This is what appeared in the Syntax Error window:


parseFields: fieldSpec byteAlignment: byteAlign structure: structClass

     | stream type name gen |
     stream := fieldSpec readStream.
     gen := NBFFICallout new requestor: structClass.

     fields := Dictionary new.
     totalSize := 0.
     [ stream atEnd ] whileFalse: [
         type := gen resolveType: stream next.
         name := stream next.
         name isSymbol ifFalse: [ self error: 'invalid field name'].
         fields at: name ifPresent: [ self error: 'duplicate field name' ].
         fields at: name put: { type. totalSize }.

         totalSize := totalSize + type storageSize.
         totalSize \\ byteAlign > 0 ifTrue: [ totalSize := totalSize \\ 
byteAlign + byteAlign ].

         stream peek == #Invalid literal character ->; ifTrue: [ stream 
next ].
     ].


On 9/30/11 9:20 AM, Igor Stasenko wrote:
[...]
> ok, then problem is in something else. Lawson, could you please paste 
> the full method source with problematic code?
>
>



More information about the Vm-dev mailing list