Date: Wed, 18 Jan 2017 08:23:13 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 216213] databases/mongodb: fails to build with clang 4.0 (3 ports skipped) Message-ID: <bug-216213-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216213 Bug ID: 216213 Summary: databases/mongodb: fails to build with clang 4.0 (3 ports skipped) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ale@FreeBSD.org Reporter: jbeich@FreeBSD.org Blocks: 216008 Flags: maintainer-feedback?(ale@FreeBSD.org) Assignee: ale@FreeBSD.org In file included from src/mongo/db/fts/fts_command.cpp:35: In file included from src/mongo/db/fts/fts_util.h:37: In file included from src/mongo/db/storage/record.h:35: In file included from src/mongo/db/storage/extent.h:34: src/mongo/db/structure/catalog/namespace.h:58:65: error: ordered comparison between pointer and zero ('const char *' and 'int') bool hasDollarSign() const { return strchr( buf , '$' ) > 0; } ~~~~~~~~~~~~~~~~~~~ ^ ~ In file included from src/mongo/s/shard.cpp:33: In file included from src/mongo/s/shard.h:35: src/mongo/client/connpool.h:326:40: error: ordered comparison between point= er and zero ('mongo::DBClientBase *' and 'int') bool ok() const { return _conn > 0; } ~~~~~ ^ ~ In file included from src/mongo/s/shard.cpp:33: src/mongo/s/shard.h:295:40: error: ordered comparison between pointer and z= ero ('mongo::DBClientBase *' and 'int') bool ok() const { return _conn > 0; } ~~~~~ ^ ~ In file included from src/mongo/db/dbcommands_generic.cpp:44: In file included from src/mongo/db/db.h:33: src/mongo/db/client.h:263:59: error: ordered comparison between pointer and zero ('mongo::Client *' and 'int') inline bool haveClient() { return currentClient.get() > 0; } ~~~~~~~~~~~~~~~~~~~ ^ ~ build log: http://sprunge.us/gicD regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216008 [Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in bas= e to 4.0.0 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216213-13>