You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, __unused is already defined, a testing it with ifndef is enough to fix that
The __always_inline is also defined, but it doesn't automatically adds the inline keyword. So, I propose changing all the occurences of __always_inline in the lib maple to inline __always_inline and also adding an ifndef
I can do a PR for that
The text was updated successfully, but these errors were encountered:
The correct toolchain is now available in debian sid/testing:
https://packages.debian.org/jessie/gcc-arm-none-eabi
https://packages.debian.org/jessie/libstdc++-arm-none-eabi-newlib
I've successfully compiled LibMaple with that. However, there is two errors here:
https://github.com/leaflabs/libmaple/blob/master/libmaple/include/libmaple/libmaple_types.h#L58
First,
__unused
is already defined, a testing it with ifndef is enough to fix thatThe
__always_inline
is also defined, but it doesn't automatically adds theinline
keyword. So, I propose changing all the occurences of__always_inline
in the lib maple toinline __always_inline
and also adding an ifndefI can do a PR for that
The text was updated successfully, but these errors were encountered: