Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2018 06:25:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225372] comms/hylafax: compiler error:  comparison between pointer and integer
Message-ID:  <bug-225372-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 225372
           Summary: comms/hylafax: compiler error:  comparison between
                    pointer and integer
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: koobs@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: koobs@FreeBSD.org
             Flags: maintainer-feedback?(koobs@FreeBSD.org)

On CURRENT hosting poudriere (both, host and jail, running FreeBSD 12.0-CUR=
RENT
1200056 amd64 with recent poudriere), building port comms/hylafax fails with
the following error

/usr/bin/c++ -O2 -pipe  -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall
-L/usr/local/lib -fstack-protector -fno-strict-aliasing       -D__ANSI_CPP__
-I. -I.. -I.././libhylafax  -I.././libhylafax -I/usr/include
-I/usr/local/include    -c FaxConfig.c++
c++: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
/usr/bin/c++ -O2 -pipe  -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall
-L/usr/local/lib -fstack-protector -fno-strict-aliasing       -D__ANSI_CPP__
-I. -I.. -I.././libhylafax  -I.././libhylafax -I/usr/include
-I/usr/local/include    -c FaxRecvInfo.c++
c++: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
In file included from FaxRecvInfo.c++:26:
In file included from ./FaxRecvInfo.h:33:
./Class2Params.h:35:1: warning: 'Class2Params' defined as a class here but
previously declared as a struct [-Wmismatched-tags]
class Class2Params
^
./FaxParams.h:32:1: note: did you mean class here?
struct Class2Params;
^~~~~~
class
FaxRecvInfo.c++:115:17: error: comparison between pointer and integer ('con=
st
char *' and 'int')
    while (cp+2 !=3D '\0') {
           ~~~~ ^  ~~~~
1 warning and 1 error generated.
*** Error code 1

--=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-225372-13>