AmalgamatedHarmonics / Prism

BSD 3-Clause "New" or "Revised" License
25 stars 7 forks source link

Compile error on Mac platform #6

Closed cschol closed 5 years ago

cschol commented 5 years ago

Symbol name clash on Mac platform:

x86_64-apple-darwin17-clang++  -std=c++11 -stdlib=libc++  -fPIC -I/home/cschol/src/Rack-SDK/Rack-SDK/include -I/home/cschol/src/Rack-SDK/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_MAC -mmacosx-version-min=10.7 -c -o build/src/Rotation.cpp.o src/Rotation.cpp
2 errors generated.
In file included from src/RainbowExpander.cpp:18:
In file included from src/Rainbow.hpp:12:
src/scales/Scales.hpp:24:14: error: redefinition of 'major' as different kind of symbol
extern Scale major;
             ^
/home/cschol/src/osxcross/target/bin/../SDK/MacOSX10.13.sdk/usr/include/sys/types.h:138:26: note: previous definition is here
static inline __int32_t  major(__uint32_t _x)
jhoar commented 5 years ago

Fixed for release