Re: C++ Issue with const char * on strchr

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

 



-----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-----

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux