[Bug 940] xmmap.c noequality compile error on DigitalUNIX 4.0F PK7
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Wed Oct 6 04:20:04 EST 2004
http://bugzilla.mindrot.org/show_bug.cgi?id=940
Summary: xmmap.c noequality compile error on DigitalUNIX 4.0F PK7
Product: Portable OpenSSH
Version: 3.9p1
Platform: Alpha
OS/Version: OSF/1
Status: NEW
Severity: critical
Priority: P2
Component: Build system
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: anenni at isisw.com
On Digital UNIX 4.0F (patch-kit 7), after configure with only zlib path, make
command fails with this error:
root at plutone/var/appoggio/openssh-3.9p1# make
(cd openbsd-compat && make)
cc -std1 -g -I. -I.. -I. -I./.. -I/usr/local/ssl/include -I/usr/local/include
-DHAVE_CONFIG_H -c xmmap.c
cc: Error: xmmap.c, line 50: In this statement, "address" and "(-1)" cannot be
compared for equality or inequality. (noequality)
if (address == MAP_FAILED) {
------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
Openssh 3.8.1p1 compiles fine giving just this warning:
cc -g -I. -I.. -I. -I./.. -I/usr/local/ssl/include -I/usr/local/include
-DHAVE_CONFIG_H -c xmmap.c
cc: Warning: xmmap.c, line 50: In this statement, "(-1)" of type "long", is
being converted to "pointer to void". (cvtdiftypes)
if (address == MAP_FAILED) {
------------^
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list