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

Re: [MiNT] [Highwire] gcc4



> const char *cmd = (const char*) *(const char **)&msg[3];
>
> Or maybe it should be:
> const char *cmd = (const char*)*(char **)&msg[3];
ouch, when you do some changes to the code, please, make it cleaner,
not uglier. this looks really scary, this is exactly the reason why
people are making fun of C language, it permits such horrible
constructions :)

but mono is right, as long as you don't fully understand this stuff,
better disable -Werror, it's easy to make mistake here (esp. with
"fixes" like those above).

-- 
MiKRO / Mystic Bytes
http://mikro.atari.org