C++ Issue with const char * on strchr

Jochen Schmitt Jochen at herr-schmitt.de
Tue Mar 10 20:58:02 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek schrieb:
>
> ) and does that also for a bunch of GNU extensions where the
> overloading makes sense.  The overloads make sense, these function
> no longer cast away constness of pointed types, if you pass a char
> *, you get char * back, if you pass const char *, you get const
> char * back.
>
>
Thank you for your great explanation. Now I know, that this is a
feature and not
a bug, so I don't have the need to open a ticket on bugzilla.

Best Regards:

Jochen Schmitt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkm21FoACgkQT2AHK6txfgwkjgCgiT66b1GsSwZ4J+aTln+cUvdc
NjIAoIJGZhBT46zqNwPAzcYi5zTPPYT9
=dobQ
-----END PGP SIGNATURE-----




More information about the fedora-devel-list mailing list