Hi everyone,
So I'm trying to build from an old commit:
https://github.com/mixxxdj/mixxx/commit/8614b4a3e77cc34fe55c028caa405da900d4446f
And I get the errors, does anyone have suggestions how I can resolve this?
I only want to build this temporarily while I pull the code I want out.....
src/defs.h:83:47: note: expanded from macro 'math_max'
#define math_max(a,b) (((a) > (b)) ? (a) : (b))
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1256:1:
note: to match this '('
src/defs.h:92:14: note: expanded from macro 'fmax'
#define fmax math_max
^
src/defs.h:83:34: note: expanded from macro 'math_max'
#define math_max(a,b) (((a) > (b)) ? (a) : (b))
^
In file included from src/engine/enginebuffer.cpp:32:
In file included from src/mathstuff.h:22:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1249:1:
error: 'inline' can only appear on functions
inline _LIBCPP_INLINE_VISIBILITY
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1256:23:
error: expected ';' at end of declaration
fmax(_A1 __x, _A2 __y) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1256:24:
error: expected unqualified-id
fmax(_A1 __x, _A2 __y) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__config:334:21:
note: expanded from macro '_NOEXCEPT'
# define _NOEXCEPT throw()
^
In file included from src/engine/enginebuffer.cpp:32:
In file included from src/mathstuff.h:22:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1266:9:
error: no member named 'math_min' in the global namespace
using ::fmin;
~~^
src/defs.h:96:14: note: expanded from macro 'fmin'
#define fmin math_min
^
In file included from src/engine/enginebuffer.cpp:32:
In file included from src/mathstuff.h:22:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1269:51:
error: expected unqualified-id
inline _LIBCPP_INLINE_VISIBILITY float fmin(float __x, float __y)
_NOEXCEPT {return fminf(__x, __y);}
^
src/defs.h:87:37: note: expanded from macro 'math_min'
#define math_min(a,b) (((a) < (b)) ? (a) : (b))
^
In file included from src/engine/enginebuffer.cpp:32:
In file included from src/mathstuff.h:22:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1269:51:
error: expected ')'
src/defs.h:87:37: note: expanded from macro 'math_min'
#define math_min(a,b) (((a) < (b)) ? (a) : (b))
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1269:46:
note: to match this '('
inline _LIBCPP_INLINE_VISIBILITY float fmin(float __x, float __y)
_NOEXCEPT {return fminf(__x, __y);}
^
src/defs.h:96:14: note: expanded from macro 'fmin'
#define fmin math_min
^
src/defs.h:87:36: note: expanded from macro 'math_min'
#define math_min(a,b) (((a) < (b)) ? (a) : (b))
^
In file included from src/engine/enginebuffer.cpp:32:
In file included from src/mathstuff.h:22:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1269:46:
error: expected ')'
inline _LIBCPP_INLINE_VISIBILITY float fmin(float __x, float __y)
_NOEXCEPT {return fminf(__x, __y);}
^
src/defs.h:96:14: note: expanded from macro 'fmin'
#define fmin math_min
^
src/defs.h:87:40: note: expanded from macro 'math_min'
#define math_min(a,b) (((a) < (b)) ? (a) : (b))
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1269:46:
note: to match this '('
src/defs.h:96:14: note: expanded from macro 'fmin'
#define fmin math_min
^
src/defs.h:87:35: note: expanded from macro 'math_min'
#define math_min(a,b) (((a) < (b)) ? (a) : (b))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
scons: *** [osx64_build/engine/enginebuffer.o] Error 1
scons: building terminated because of errors.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel