Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 16:23:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216035] astro/xplanet: fails to build with libc++ 4.0
Message-ID:  <bug-216035-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 216035
           Summary: astro/xplanet: fails to build with libc++ 4.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: novel@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 216008
             Flags: maintainer-feedback?(novel@FreeBSD.org)
          Assignee: novel@FreeBSD.org

addArcs.cpp:261:65: warning: comparison between NULL and non-pointer
('std::__1::basic_istream<char>' and NULL) [-Wnull-arithmetic]
            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addArcs.cpp:261:65: error: invalid operands to binary expression
('std::__1::basic_istream<char>' and 'long')
            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addArcs.cpp:295:53: warning: comparison between NULL and non-pointer
('std::__1::basic_istream<char>' and NULL) [-Wnull-arithmetic]
            while (inFile.getline (line, 256, '\n') !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addArcs.cpp:295:53: error: invalid operands to binary expression
('std::__1::basic_istream<char>' and 'long')
            while (inFile.getline (line, 256, '\n') !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addMarkers.cpp:426:65: warning: comparison between NULL and non-pointer
('std::__1::basic_istream<char>' and NULL) [-Wnull-arithmetic]
            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addMarkers.cpp:426:65: error: invalid operands to binary expression
('std::__1::basic_istream<char>'and 'long')
            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addMarkers.cpp:472:65: warning: comparison between NULL and non-pointer
('std::__1::basic_istream<char>' and NULL) [-Wnull-arithmetic]
            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addMarkers.cpp:472:65: error: invalid operands to binary expression
('std::__1::basic_istream<char>'and 'long')
            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addSatellites.cpp:491:49: warning: comparison between NULL and non-pointer
('std::__1::basic_istream<char>' and NULL) [-Wnull-arithmetic]
            while (inFile.getline(lines[0], 80) !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addSatellites.cpp:491:49: error: invalid operands to binary expression
('std::__1::basic_istream<char>' and 'long')
            while (inFile.getline(lines[0], 80) !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addSatellites.cpp:493:51: warning: comparison between NULL and non-pointer
('std::__1::basic_istream<char>' and NULL) [-Wnull-arithmetic]
                if ((inFile.getline(lines[1], 80) =3D=3D NULL)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addSatellites.cpp:493:51: error: invalid operands to binary expression
('std::__1::basic_istream<char>' and 'long')
                if ((inFile.getline(lines[1], 80) =3D=3D NULL)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addSatellites.cpp:494:54: warning: comparison between NULL and non-pointer
('std::__1::basic_istream<char>' and NULL) [-Wnull-arithmetic]
                    || (inFile.getline(lines[2], 80) =3D=3D NULL))
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addSatellites.cpp:494:54: error: invalid operands to binary expression
('std::__1::basic_istream<char>' and 'long')
                    || (inFile.getline(lines[2], 80) =3D=3D NULL))
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addSatellites.cpp:545:65: warning: comparison between NULL and non-pointer
('std::__1::basic_istream<char>' and NULL) [-Wnull-arithmetic]
            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
addSatellites.cpp:545:65: error: invalid operands to binary expression
('std::__1::basic_istream<char>' and 'long')
            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') !=3D NULL)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~

build log: http://sprunge.us/dSQf
bisect first bad: https://github.com/llvm-mirror/libcxx/commit/3a1b90a866b6


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in bas=
e to
4.0.0
--=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-216035-13>