GWOLLUM emits 'macro-defined' warnings on macOS
When building GWOLLUM 3.1.0 on macOS (at least on ARM64), I see the following warnings related to 'redefining' M_PI
:
/Users/duncanmacleod/opt/mambaforge/conda-bld/gwollum_1652953354999/work/src/Time/Date.h:13:9: warning: 'M_PI' macro redefined [-Wmacro-redefined]
#define M_PI 3.14159265358979323846
^
/Users/duncanmacleod/opt/MacOSX11.0.sdk/usr/include/math.h:694:9: note: previous definition is here
#define M_PI 3.14159265358979323846264338327950288 /* pi */
^
1 warning generated.
Can the #define M_PI
by wrapped inside #ifndef M_PI
or similar to avoid duplication?