From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11877 Path: news.gmane.org!.POSTED!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: RTC_RD_TIME Date: Wed, 30 Aug 2017 19:42:29 +0300 (MSK) Message-ID: References: <20170830014328.GB19925@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1504111373 24291 195.159.176.226 (30 Aug 2017 16:42:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 16:42:53 +0000 (UTC) User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) To: musl@lists.openwall.com Original-X-From: musl-return-11890-gllmg-musl=m.gmane.org@lists.openwall.com Wed Aug 30 18:42:50 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dn64Z-0005XP-Ql for gllmg-musl@m.gmane.org; Wed, 30 Aug 2017 18:42:35 +0200 Original-Received: (qmail 1822 invoked by uid 550); 30 Aug 2017 16:42:40 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 1801 invoked from network); 30 Aug 2017 16:42:40 -0000 In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:11877 Archived-At: Thanks, that clears it up. It needs -pedantic and a 64-bit target. void f(int); void g() { f(1u<<31|sizeof 0); } So casting sizes to 'int' or such in implementation of _IO[RW]* macros would avoid this particular warning too (but not -Wsign-conversion). Alexander