Skip to content

Fix for MinGW cross-compilation errors in public xs.h header due to direct setjmp() usage instead of _setjmp() macro defined in the same xs.h header.#45

Closed
iamtakingiteasy wants to merge 575 commits intoModdable-OpenSource:publicfrom
iamtakingiteasy:public
Closed

Conversation

@iamtakingiteasy
Copy link

@iamtakingiteasy iamtakingiteasy commented Mar 28, 2018

This fixes MinGW crosscompilation issues, where CPP (C pre-processor) complains about wrong number of arguments to setjmp() by using platform-aware _setjmp() macro defined in the same xs.h header.

Patrick Soquet and others added 30 commits March 19, 2018 15:05
…ourcegh-14

Smoke tested with:

- examples/drivers/BMP180
- examples/drivers/HMC5883L
- examples/drivers/lis3dh
- examples/drivers/mcp23008 (existing and new feature branch)
- examples/drivers/mcp23017 (on new feature branch)
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.

9 participants