[Bug libstdc++/30928] add casts to libc overloads

2010-01-14 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2010-01-14 20:44 --- Yes, I agree, in the light of the resolution of DR456, let's keep open 33935 instead, and clarify in it that non-GNU targets have yet to provide a mechanism similar to the one used in recent glibcs. -- htt

[Bug libstdc++/30928] add casts to libc overloads

2010-01-14 Thread marc dot glisse at normalesup dot org
--- Comment #5 from marc dot glisse at normalesup dot org 2010-01-14 20:35 --- (In reply to comment #4) > It seems to me extremely unlikely that an implementation decides to provide > the > full-const version when called by a c++ compiler and nothing else, because C++ > does *not* add

[Bug libstdc++/30928] add casts to libc overloads

2010-01-14 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-01-14 17:23 --- It seems to me extremely unlikely that an implementation decides to provide the full-const version when called by a c++ compiler and nothing else, because C++ does *not* add an overload, *replaces both*. Thus i

[Bug libstdc++/30928] add casts to libc overloads

2009-01-30 Thread marc dot glisse at normalesup dot org
--- Comment #3 from marc dot glisse at normalesup dot org 2009-01-30 20:38 --- Hello, looking at the two last comments, I think we are speaking of slightly different things, although they are related. I was asking for some const_cast of the return value, in case the const version of wc

[Bug libstdc++/30928] add casts to libc overloads

2009-01-30 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-01-30 12:08 --- *** Bug 33935 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/30928] add casts to libc overloads

2009-01-30 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last re

[Bug libstdc++/30928] add casts to libc overloads

2009-01-30 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-01-30 11:48 --- For very recent glibc this has been fixed with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143773 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30928