Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2019 10:54:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235689] sysutils/powerdxx: fix build with GCC-based architectures
Message-ID:  <bug-235689-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235689

            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@freebsd.org
          Reporter: pkubaj@anongoth.pl
          Assignee: rigoletto@freebsd.org
             Flags: maintainer-feedback?(rigoletto@freebsd.org)

Created attachment 201950
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D201950&action=
=3Dedit
patch

Add -Wno-error=3Dsign-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:29=
4:21:
error: comparison of integer expressions of different signedness: 'int' and
'const long unsigned int' [-Werror=3Dsign-compare]
   for (int i =3D 0; i < columns; ++i) {
                   ~~^~~~~~~~~
cc1plus: all warnings being treated as errors

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.

--=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-235689-7788>