------- Comment #10 from joseph at codesourcery dot com 2009-01-07 15:34 ------- Subject: Re: bad text in -Wcast-qual warning (forgets volatile)
On Wed, 7 Jan 2009, ian at airs dot com wrote: > How is it unsafe? All the const qualifier on a pointer means is that the > memory will not be changed through that pointer. http://c-faq.com/ansi/constmismatch.html gives the standard example for why such conversions are unsafe. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35711
