Date: Fri, 12 Aug 2011 17:48:27 +0200 From: Luka Marčetić <paxcoder@...il.com> To: musl@...ts.openwall.com Subject: Re: cluts daily reports 8/12 - continuing pthread_eintr, still stuck with alloc On 08/12/2011 05:13 AM, Solar Designer wrote: > Rather than disable the warning, Luka can do: > > (void) foo; > > which is portable, unlike "++foo", and it silences the gcc warning too is this situation is why casting to void is allowed? I notice there's no "statement with no effect" warning. I wasn't aware of this, so thanks. Luka
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.