CXX libcola/shortest_paths.o
CXX libcola/straightener.o
CXX libcola/connected_components.o
AR libcola/libcola.a
ar: `u' modifier ignored since `D' is the default (see `U')
CXX inkgc/gc.o
In file included from ../../trunk/src/inkgc/gc.cpp:17:
In file included from /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:6:
/usr/include/sigc++-2.0/sigc++/type_traits.h:63:27: warning: alias declarations
are a C++11 extension [-Wc++11-extensions]
using type_trait_pass_t = typename type_trait<T>::pass;
^
/usr/include/sigc++-2.0/sigc++/type_traits.h:66:27: warning: alias declarations
are a C++11 extension [-Wc++11-extensions]
using type_trait_take_t = typename type_trait<T>::take;
^
In file included from ../../trunk/src/inkgc/gc.cpp:17:
In file included from /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:7:
In file included from /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:6:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.2.1/../../../../include/c++/5.2.1/type_traits:35:
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.2.1/../../../../include/c++/5.2.1/bits/c++0x_warning.h:32:2: error:
This file requires compiler and library support for the ISO C++ 2011
standard. This support is currently experimental, and must be enabled with
the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^
In file included from ../../trunk/src/inkgc/gc.cpp:17:
In file included from /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:7:
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:92:36: error: unknown
type name 'decltype'
static int check(X_functor* obj, decltype(&X_functor::operator()) p = ...
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:92:57: error: parameter
declarator cannot be qualified
static int check(X_functor* obj, decltype(&X_functor::operator()) p = ...
~~~~~~~~~~~^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:92:57: error:
'operator()' cannot be the name of a parameter
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:92:69: error: expected
')'
static int check(X_functor* obj, decltype(&X_functor::operator()) p = nu...
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:92:19: note: to match
this '('
static int check(X_functor* obj, decltype(&X_functor::operator()) p = ...
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:97:44: error: use of
undeclared identifier 'nullptr'
= sizeof(check(static_cast<T_functor*>(nullptr))) == sizeof(int)
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:116:46: error: no member
named 'is_base_of' in namespace 'std'
bool I_derives_functor_base = std::is_base_of<functor_base,T_f...
~~~~~^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:116:57: error:
'functor_base' does not refer to a value
bool I_derives_functor_base = std::is_base_of<functor_base,T_f...
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:69:8: note: declared
here
struct functor_base {};
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:116:82: error:
definition or redeclaration of 'value' cannot name the global scope
...I_derives_functor_base = std::is_base_of<functor_base,T_functor>::value,
~~^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:116:82: error: C++
requires a type specifier for all declarations
...I_derives_functor_base = std::is_base_of<functor_base,T_functor>::value,
~~^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:116:82: warning:
variable templates are a C++1y extension [-Wc++1y-extensions]
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:116:82: error: no member
named 'value' in the global namespace
...I_derives_functor_base = std::is_base_of<functor_base,T_functor>::value,
~~^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:116:87: error: a
template declaration can only declare a single entity
...I_derives_functor_base = std::is_base_of<functor_base,T_functor>::value,
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:126:8: error: explicit
specialization of non-template struct 'functor_trait'
struct functor_trait<T_functor, true, I_can_use_decltype>
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:133:8: error: too many
template arguments for class template 'functor_trait'
struct functor_trait<T_functor, false, true>
^ ~~~~~
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:126:8: note: template is
declared here
struct functor_trait<T_functor, true, I_can_use_decltype>
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:215:8: error: too many
template arguments for class template 'functor_trait'
struct functor_trait<T_return (*)(), false, false>
^ ~~~~~~
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:126:8: note: template is
declared here
struct functor_trait<T_functor, true, I_can_use_decltype>
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:223:8: error: too many
template arguments for class template 'functor_trait'
struct functor_trait<T_return (*)(T_arg1), false, false>
^ ~~~~~~
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:126:8: note: template is
declared here
struct functor_trait<T_functor, true, I_can_use_decltype>
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:231:8: error: too many
template arguments for class template 'functor_trait'
struct functor_trait<T_return (*)(T_arg1, T_arg2), false, false>
^ ~~~~~~
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:126:8: note: template is
declared here
struct functor_trait<T_functor, true, I_can_use_decltype>
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:239:8: error: too many
template arguments for class template 'functor_trait'
struct functor_trait<T_return (*)(T_arg1, T_arg2, T_arg3), false, false>
^ ~~~~~~
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:126:8: note: template is
declared here
struct functor_trait<T_functor, true, I_can_use_decltype>
^
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:247:8: error: too many
template arguments for class template 'functor_trait'
struct functor_trait<T_return (*)(T_arg1, T_arg2, T_arg3, T_arg4), false, false>
^ ~~~~~~
/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:126:8: note: template is
declared here
struct functor_trait<T_functor, true, I_can_use_decltype>
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
-
请登录后发言!