backends/mysql/session.cpp:202:22: error: ordered comparison between pointer and zero ('int *' and 'int') if (port < 0) ~~~~ ^ ~ build log: http://sprunge.us/dQUT regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3
Patch (from upstream) is in the review.
A commit references this bug: Author: adridg Date: Fri Jan 5 11:06:16 UTC 2018 New revision: 458126 URL: https://svnweb.freebsd.org/changeset/ports/458126 Log: Fix build of databases/soci w/ clang 4.0 and later and on arm6, arm7. Adds upstream patch to fix backends/mysql/session.cpp:202:22: error: ordered comparison between pointer and zero ('int *' and 'int') if (port < 0) PR: 222651 216074 Reported by: jbeich, Neel Chauhan Reviewed by: jlaffaye Approved by: tcberner (mentor) Obtained from: upstream Differential Revision: https://reviews.freebsd.org/D13769 Changes: head/databases/soci/Makefile head/databases/soci/files/patch-backends_mysql_session.cpp