Nicolas Cellier

Results 56 comments of Nicolas Cellier

Thanks for reminding the tips, it seems like I managed to break Xcode at that time... At least, I can compile on this mac OS configuration: ``` $ uname -a...

Same weirdness for sound_PlaySamplesFromAtLength Note that a few implementations are legacy-interpreter-friendly: we pass a sqInt which is transformed into a pointer via pointerForOop This is for 32bits image on 64bits...

I suggest writing ((objectMemory isIntegerObject: hash) and: [(hash bitAnd: (objectMemory integerObjectOf: objectMemory maxIdentityHash)) = hash]) ifFalse: as a workaround

Note that there is another such warning coming from here: https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/926ec66c11ba4fbabb772eb63303c347c671d89d/platforms/win32/plugins/SoundPlugin/sqWin32Sound.c#L837 I thought that the warning could be abusive see https://stackoverflow.com/questions/69223499/does-the-following-pre-increment-expression-really-result-in-unsequenced-modific but it is not! We could find a compiler...

I already cleaned that in platforms/win32 and now I've WIP in platforms/minheadless/windows. - https://github.com/OpenSmalltalk/opensmalltalk-vm/search?q=fromSqueak&type=Commits - https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/545ec0a931166a8374683940f3344e27a110f42c Thanks for the reminder!

Concerning `sqWin32PrintLastError`, I don't think that we need two functions indeed. Either Ronie did not see the existing `printLastError` definition, or he wanted a better naming scheme where our own...

Note about Ctrl+A/Z: AFAIU, it's what the console app were expected in the ages, so our OS still carry this tribute to legacy... See how we have to workaround on...

Note: we also have a tolerance for passing a pointer on integer types of equal size but wrong signedness... See code like` (atomicType >> 1) = (specType >> 1)` in...

We are talking about Foreign Function, so we have to bear other's choice. But we also can take full control at the Interface. For this, we support 4 different FFI...

It also happen on macos64x64 (of course, just after I forbid the x64 failures). https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/jobs/602668690