NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/53618: bogus warnings from printf %u and ntohs with -O1
The following reply was made to PR toolchain/53618; it has been noted by GNATS.
From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: toolchain/53618: bogus warnings from printf %u and ntohs with -O1
Date: Wed, 19 Sep 2018 07:39:42 +0000
this is because the definition of ntohs is
#define ntohs(x) (x)
in sys/endian.h.
I feel like it's risky to change it because we would be making things
truncate, no? are other people truncating?
there's also a libc non-macro version.
Home |
Main Index |
Thread Index |
Old Index