Date: Fri, 06 Mar 2020 19:48:25 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 244645] biology/jellyfish Message-ID: <bug-244645-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244645 Bug ID: 244645 Summary: biology/jellyfish Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: jwb@freebsd.org Reporter: dim@FreeBSD.org Blocks: 244251 Flags: maintainer-feedback?(jwb@freebsd.org) Assignee: jwb@freebsd.org Created attachment 212207 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212207&action= =3Dedit Fix biology/jellyfish build with clang 10.0.0 As reported in bug 244251, with clang 10.0.0 the biology/jellyfish port runs into -Werror warnings: lib/jsoncpp.cpp:2303:74: error: implicit conversion from 'const Json::Int64' (aka 'const long long') to 'double' changes value from 9223372036854775807 = to 9223372036854775808 [-Werror,-Wimplicit-int-float-conversion] JSON_ASSERT_MESSAGE( value_.real_ >=3D minInt64 && value_.real_ <=3D maxInt64, "Real out of Int64 range" ); ~~ ^~~~~~~~ lib/jsoncpp.cpp:1566:58: note: expanded from macro 'JSON_ASSERT_MESSAGE' #define JSON_ASSERT_MESSAGE( condition, message ) if (!( condition )) JSON_FAIL_MESSAGE( message ) ^~~~~~~~~ lib/jsoncpp.cpp:2331:67: error: implicit conversion from 'const Json::UInt6= 4' (aka 'const unsigned long long') to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Werror,-Wimplicit-int-float-conversion] JSON_ASSERT_MESSAGE( value_.real_ >=3D 0 && value_.real_ <=3D maxUI= nt64,=20 "Real out of UInt64 range" ); ~~ ^~~~~~~~~ lib/jsoncpp.cpp:1566:58: note: expanded from macro 'JSON_ASSERT_MESSAGE' #define JSON_ASSERT_MESSAGE( condition, message ) if (!( condition )) JSON_FAIL_MESSAGE( message ) ^~~~~~~~~ This can be fixed by adding explicit casts. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244251 [Bug 244251] [exp-run] Against projects/clang1000-import branch --=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-244645-7788>