[Bug 235689] sysutils/powerdxx: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 12 10:54:30 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235689

            Bug ID: 235689
           Summary: sysutils/powerdxx: fix build with GCC-based
                    architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rigoletto at freebsd.org
          Reporter: pkubaj at anongoth.pl
          Assignee: rigoletto at freebsd.org
             Flags: maintainer-feedback?(rigoletto at freebsd.org)

Created attachment 201950
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201950&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list