Public bug reported:
Partly it's the usual -Werror stuff but it's also something odd with
templates. From https://launchpadlibrarian.net/277677107
/buildlog_ubuntu-yakkety-ppc64el.juju-
mongodb_2.4.10-0ubuntu10~ppa1_BUILDING.txt.gz (a build -Werror hacked
out):
src/third_party/s2/s2.h: At global scope:
src/third_party/s2/s2.h:40:18: error: specialization of 'template<class _Tp>
struct std::hash' in different namespace [-fpermissive]
template<> class hash<S2Point> {
^~~~~~~~~~~~~
In file included from /usr/include/c++/6/bits/basic_string.h:5628:0,
from /usr/include/c++/6/string:52,
from src/mongo/pch.h:32,
from src/mongo/db/compact.cpp:21:
/usr/include/c++/6/bits/functional_hash.h:58:12: error: from definition of
'template<class _Tp> struct std::hash' [-fpermissive]
struct hash;
^~~~
In file included from src/mongo/db/geo/geoparser.h:21:0,
from src/mongo/db/geo/geoquery.h:17,
from src/mongo/db/matcher.h:25,
from src/mongo/db/cursor.h:23,
from src/mongo/db/clientcursor.h:31,
from src/mongo/db/db.cpp:27:
** Affects: juju-mongodb (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1610791
Title:
ftbfs with gcc 6
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1610791/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs