Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

compile problem with bind.c and tcpsmtp.c

1 view
Skip to first unread message

Jim Pazarena

unread,
Jan 27, 1999, 3:00:00 AM1/27/99
to
I am against a wall compiling smail 3.2.0.104 on UnixWare7

In both "bind.c" & "tcpsmtp.c" I get the following WARNING:
"bind.c", line 63: initializer does not fit: 0x80000000
"tcpsmtp.c", line 75: initializer does not fit: 0x80000000

in each case I _think_ the problem is in:

BIND_ATTRIBUTES(bind_private, bindlib_attr)

Would someone please give me a hint where I might trace this problem?

--
Jim Pazarena mailto:p...@qcislands.net
http://www.qcislands.net/paz


craig harmer

unread,
Jan 29, 1999, 3:00:00 AM1/29/99
to
On Tue, Jan 26, 1999 at 11:29:33PM -0800 Jim Pazarena (qci...@ccstores.com) wrote:
} Subject: compile problem with bind.c and tcpsmtp.c

} I am against a wall compiling smail 3.2.0.104 on UnixWare7
}
} In both "bind.c" & "tcpsmtp.c" I get the following WARNING:
} "bind.c", line 63: initializer does not fit: 0x80000000
} "tcpsmtp.c", line 75: initializer does not fit: 0x80000000
}
} in each case I _think_ the problem is in:
}
} BIND_ATTRIBUTES(bind_private, bindlib_attr)
}
} Would someone please give me a hint where I might trace this problem?

i wouldn't worry about it too much. the most likely answer is that your
setting the high order bit on a (signed) int. 0x80000000 is considered
an unsigned number. technically, you can't assign it because you're
making the number negative.

practically speaking, it should just work.

nevertheless, the code should be fixed to eliminate the warnings.

cheers,

craig.

--
craig harmer PGP public key available:
cha...@punchdown.org finger cha...@ns.punchdown.org
(415) 668-3564 (h)


0 new messages