Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 05:22:06 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Michael Butler <imb@protected-networks.net>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Codeblocks no longer compiles on -current
Message-ID:  <bmlv-zew1-wny@FreeBSD.org>
References:  <ac21120c-c9b6-f5cb-2af3-265fe8a3af60@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Butler <imb@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bmlv-zew1-wny>