Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn.
Author: Kaspars Dambis
kaspars.net / @konstruktors
| --- a/ext/bigdecimal/bigdecimal.c | |
| +++ b/ext/bigdecimal/bigdecimal.c | |
| @@ -62,7 +62,11 @@ static ID id_eq; | |
| static ID id_half; | |
| /* MACRO's to guard objects from GC by keeping them in stack */ | |
| +#ifdef RBIMPL_ATTR_MAYBE_UNUSED | |
| +#define ENTER(n) RBIMPL_ATTR_MAYBE_UNUSED() volatile VALUE vStack[n];int iStack=0 | |
| +#else | |
| #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0 |
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn.
Author: Kaspars Dambis
kaspars.net / @konstruktors