From: Alexander Monakov <amonakov@ispras.ru>
To: musl@lists.openwall.com
Subject: Re: RTC_RD_TIME
Date: Wed, 30 Aug 2017 19:42:29 +0300 (MSK) [thread overview]
Message-ID: <alpine.LNX.2.20.13.1708301929100.21360@monopod.intra.ispras.ru> (raw)
In-Reply-To: <CAKpSnp+SKja3_-UrJLBSx4WFCFLMOsr9N85YgFFs5yHTXpGgOw@mail.gmail.com>
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
prev parent reply other threads:[~2017-08-30 16:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-29 21:28 RTC_RD_TIME Jorge Almeida
2017-08-30 1:43 ` RTC_RD_TIME Rich Felker
2017-08-30 6:35 ` RTC_RD_TIME Jorge Almeida
2017-08-30 12:55 ` RTC_RD_TIME Alexander Monakov
2017-08-30 15:20 ` RTC_RD_TIME Jorge Almeida
2017-08-30 16:42 ` Alexander Monakov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.20.13.1708301929100.21360@monopod.intra.ispras.ru \
--to=amonakov@ispras.ru \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).