Opened 5 years ago

Last modified 5 years ago

#59356 new defect

gtkevemon @1.9: error: expected ';' at end of declaration list

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc:
Port: gtkevemon

Description

gtkevemon does not build:

/opt/local/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;
                          ^
/opt/local/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 api/apibase.cc:7:
In file included from api/apibase.h:20:
In file included from api/eveapi.h:18:
In file included from ./net/asynchttp.h:16:
In file included from /opt/local/include/glibmm-2.4/glibmm/dispatcher.h:20:
In file included from /opt/local/include/sigc++-2.0/sigc++/sigc++.h:104:
In file included from /opt/local/include/sigc++-2.0/sigc++/signal.h:8:
In file included from /opt/local/include/sigc++-2.0/sigc++/signal_base.h:26:
/opt/local/include/sigc++-2.0/sigc++/trackable.h:40:59: error: expected ';' at end of declaration list
  trackable_callback(void* data, func_destroy_notify func) noexcept
                                                          ^
                                                          ;

There are many other errors and warnings that mention C++11 features. The port may need to indicate compiler.cxx_standard 2011.

Change History (1)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

The libsigcxx2 headers do require C++11, so all dependents have to as well.

Note: See TracTickets for help on using tickets.