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: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/53618: bogus warnings from printf %u and ntohs with -O1
Date: Sat, 22 Sep 2018 06:37:33 +0700

     Date:        Fri, 21 Sep 2018 22:15:01 +0000 (UTC)
     From:        Valery Ushakov <uwe%stderr.spb.ru@localhost>
     Message-ID:  <20180921221501.725C37A202%mollari.NetBSD.org@localhost>
 
   |  But my point was that %hu seems technically the right thing to do and it
   | does shut up gcc.
 
 Agreed on the former (or at least, it is certainly technically acceptable),
 and if it has that effect (I haven't tested it) then that sounds like the ideal
 way to "fix" things.
 
 kre
 


Home | Main Index | Thread Index | Old Index