[Developers] Const correctness for cGH *
Jonathan Thornburg
jthorn at aei.mpg.de
Tue Jun 7 07:08:07 CDT 2005
On Tue, 7 Jun 2005, Thomas Radke wrote:
[[about making GH pointers pointer-to-const-GH]]
> I'd be in favor of it too. But only if you can tell me how to do the type
> cast in C without having gcc generate a warning "cast discards qualifiers
> from pointer target type" for such cases.
Try gcc -Wno-cast-qual .
ciao,
--
-- Jonathan Thornburg <jthorn at aei.mpg.de>
Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut),
Golm, Germany, "Old Europe" http://www.aei.mpg.de/~jthorn/home.html
"Washing one's hands of the conflict between the powerful and the
powerless means to side with the powerful, not to be neutral."
-- quote by Freire / poster by Oxfam
More information about the Developers
mailing list