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
I don't know who's fault is this, I'm currently creating a binding for swift to use the library. However it couldn't build as it threw an error. Below is the list of macros that were throwing the error.
`#ifndef TYPE
#error "TYPE must be defined before including this header"
#endif
#ifndef IS_EMPTY
#error "IS_EMPTY must be defined before including this header"
#endif
#ifndef INIT_ITERATION
#error "INIT_ITERATION must be defined before including this header"
#endif
#ifndef ITERATE
#error "ITERATE must be defined before including this header"
#endif`
The text was updated successfully, but these errors were encountered:
The TYPE is defined in linkedGeo.c and polygon.c - the idea is that the macros allow the code in polygonAlgos.h to be polymorphic in a way that's otherwise difficult in C. You shouldn't be including polygonAlgos.h directly - it's included in these two files.
I don't know who's fault is this, I'm currently creating a binding for swift to use the library. However it couldn't build as it threw an error. Below is the list of macros that were throwing the error.
`#ifndef TYPE
#error "TYPE must be defined before including this header"
#endif
#ifndef IS_EMPTY
#error "IS_EMPTY must be defined before including this header"
#endif
#ifndef INIT_ITERATION
#error "INIT_ITERATION must be defined before including this header"
#endif
#ifndef ITERATE
#error "ITERATE must be defined before including this header"
#endif`
The text was updated successfully, but these errors were encountered: