Codeblocks no longer compiles on -current
Jan Beich
jbeich at FreeBSD.org
Thu Sep 28 03:22:10 UTC 2017
Michael Butler <imb at protected-networks.net> writes:
> --- sqvm.lo ---
> In file included from sqvm.cpp:5:
> In file included from /usr/include/c++/v1/math.h:310:
> /usr/include/c++/v1/limits:148:85: error: expected expression
> _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min()
> _NOEXCEPT {return type();}
>
> ^
> ../../../../src/include/scripting/squirrel/sqobject.h:99:24: note:
> expanded from macro 'type'
> #define type(obj) ((obj)._type)
> ^
Part libc++ 5.0 fallout[1] that landed a few months ago. Try moving
<math.h> one line up or comment out type() definition in "sqobject.h".
[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219139
https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20170724/506669.html
More information about the freebsd-ports
mailing list