Skip to content

Conversation

@nicolas-cellier-aka-nice
Copy link
Contributor

The compiler barks:

opensmalltalk-vm\platforms\win32\vm\sqWin32Backtrace.c(131,32): warning C4034: sizeof return 0

Indeed, we'd better keep our ears open to the compiler sounds.

If the intention to align fp on pointer length (that is zero out 2 lowest bits on x86 or 3 bits on x64), then we shall use sizeof(void *) rather than sizeof(void)

The compiler barks:

>opensmalltalk-vm\platforms\win32\vm\sqWin32Backtrace.c(131,32): warning C4034: sizeof return 0

Indeed, we'd better keep our ears open to the compiler sounds.

If the intention to align fp on pointer length (that is zero out 2 lowest bits on x86 or 3 bits on x64), then we shall use `sizeof(void *)` rather than `sizeof(void)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants