Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/bsd/file

On Sat, Jan 18, 2014 at 10:46:50AM +0000, Justin Cormack wrote:
> I believe gcc is correct here, you are only allowed to alias via a
> char pointer or the original type. Because you put a void pointer in
> instead gcc is right to complain.

Right, but actually the complaint does not go away if we make the ? operator
into an if () with two separate memcpy() calls without any casts.


Home | Main Index | Thread Index | Old Index