|
Message-ID: <alpine.LNX.2.20.13.1708301929100.21360@monopod.intra.ispras.ru> Date: Wed, 30 Aug 2017 19:42:29 +0300 (MSK) From: Alexander Monakov <amonakov@...ras.ru> To: musl@...ts.openwall.com Subject: Re: RTC_RD_TIME 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.