[Bug 216035] astro/xplanet: fails to build with libc++ 4.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 13 16:23:20 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216035
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 at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Blocks: 216008
Flags: maintainer-feedback?(novel at FreeBSD.org)
Assignee: novel at 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') != 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') != 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') != NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
addArcs.cpp:295:53: error: invalid operands to binary expression
('std::__1::basic_istream<char>' and 'long')
while (inFile.getline (line, 256, '\n') != 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') != 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') != 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') != 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') != 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) != NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
addSatellites.cpp:491:49: error: invalid operands to binary expression
('std::__1::basic_istream<char>' and 'long')
while (inFile.getline(lines[0], 80) != 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) == NULL)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
addSatellites.cpp:493:51: error: invalid operands to binary expression
('std::__1::basic_istream<char>' and 'long')
if ((inFile.getline(lines[1], 80) == 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) == NULL))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
addSatellites.cpp:494:54: error: invalid operands to binary expression
('std::__1::basic_istream<char>' and 'long')
|| (inFile.getline(lines[2], 80) == 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') != 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') != 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=216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in base to
4.0.0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list