Created attachment 201950 [details] patch Add -Wno-error=sign-compare to CXXFLAGS to ignore the following error when compiling with GCC: /wrkdirs/usr/ports/sysutils/powerdxx/work/powerdxx-0.4.0/src/loadrec.cpp: In lambda function: /wrkdirs/usr/ports/sysutils/powerdxx/work/powerdxx-0.4.0/src/loadrec.cpp:294:21: error: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Werror=sign-compare] for (int i = 0; i < columns; ++i) { ~~^~~~~~~~~ cc1plus: all warnings being treated as errors Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
A commit references this bug: Author: linimon Date: Thu Feb 21 04:14:15 UTC 2019 New revision: 493485 URL: https://svnweb.freebsd.org/changeset/ports/493485 Log: Add -Wno-error=sign-compare to CXXFLAGS to ignore the following error when compiling with GCC: /wrkdirs/usr/ports/sysutils/powerdxx/work/powerdxx-0.4.0/src/loadrec.cpp: In lambda function: /wrkdirs/usr/ports/sysutils/powerdxx/work/powerdxx-0.4.0/src/loadrec.cpp:294:21: error: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Werror=sign-compare] PR: 235689 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/sysutils/powerdxx/Makefile