Codeblocks no longer compiles on -current

Michael Butler imb at protected-networks.net
Thu Sep 28 02:45:19 UTC 2017


Errors all seem to be similar, of the form ..

-- sqbaselib.lo ---
depbase=`echo sqbaselib.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh 
../../../../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H 
-I. -I../../../../src/include 
-I../../../../src/include/scripting/include 
-I../../../../src/include/scripting/squirrel -isystem /usr/local/include 
-ansi -DTIXML_USE_STL   -O2 -ffast-math -DCB_AUTOCONF -O2 -pipe 
-march=core2  -fstack-protector -isystem /usr/local/include 
-fno-strict-aliasing  -Wno-undefined-bool-conversion -isystem 
/usr/local/include -std=c++11  -fPIC -DPIC -fexceptions -MT sqbaselib.lo 
-MD -MP -MF $depbase.Tpo -c -o sqbaselib.lo sqbaselib.cpp && mv -f 
$depbase.Tpo $depbase.Plo
--- 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)
                        ^
In file included from sqvm.cpp:5:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:148:61: error: no return statement in 
constexpr function
     _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min() 
_NOEXCEPT {return type();}
                                                             ^
/usr/include/c++/v1/limits:149:85: error: expected expression
     _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() 
_NOEXCEPT {return type();}
 
             ^
../../../../src/include/scripting/squirrel/sqobject.h:99:24: note: 
expanded from macro 'type'
#define type(obj) ((obj)._type)
                        ^
In file included from sqvm.cpp:5:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:149:61: error: no return statement in 
constexpr function
     _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() 
_NOEXCEPT {return type();}


More information about the freebsd-ports mailing list