DragonFly BSD
DragonFly submit List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Patch to execve


From: "Kevin M. Kilbride" <kmk@xxxxxxx>
Date: Sat, 26 Feb 2005 22:49:12 -0800

Kevin M. Kilbride wrote:

Secondly, it not only warns about _stripping_ qualifiers, but, in direct violation of the standard, it also warns about the explicitly-permitted conversion of an unqualified pointer to a qualified one.


Actually, in playing with this further, I can see that it is the base GCC compiler that emits this warning, not the -Wcast-qual option. This is much worse. The warning cannot be suppressed, even though it is warning about obviously permitted behavior. Even if the GNU people fix it, all existing versions of the compiler will complain about it, crippling the warnings facility and necessitating dependence upon bugged behavior of their -Wcast-qual option to get code to compile warnings-free. Really bad. Ironically, g++ does not suffer from this problem.

-sigh-




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