public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx
       [not found] <bug-24537-4@http.gcc.gnu.org/bugzilla/>
@ 2022-11-04 19:20 ` redi at gcc dot gnu.org
  0 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2022-11-04 19:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24537

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I would like to suggest closing this bug. I don't think we should rename
__gnu_cxx::char_traits, it uses a reserved name. I don't think there is
anything wrong with e.g. __debug::vector or __gnu_cxx::char_traits and we
shouldn't pick ugly names to avoid problems for users who abuse
using-directives.

Changing status to WAITING to start the timer, but if I don't hear otherwise
then I'll close it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx
  2005-10-26 10:28 [Bug libstdc++/24537] New: " pcarlini at suse dot de
                   ` (4 preceding siblings ...)
  2005-10-27 21:55 ` pinskia at gcc dot gnu dot org
@ 2006-11-21 10:48 ` bkoz at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-11-21 10:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bkoz at gcc dot gnu dot org  2006-11-21 10:48 -------

Thanks P for this. 

I would be interested in seeing this audit.

I think moving __gnu_cxx::char_traits to __gnu_cxx::__char_traits is something
that should be seriously considered for gcc/gcc-4_2-branch. 

I'm currently working through the issues with new doxygen, as part of this I've
made some documentation changes WRT namespace usage that will hopefully make
things easier to understand.

I'm hoping to have this done soon-ish.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24537


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx
  2005-10-26 10:28 [Bug libstdc++/24537] New: " pcarlini at suse dot de
                   ` (3 preceding siblings ...)
  2005-10-27  9:07 ` pcarlini at suse dot de
@ 2005-10-27 21:55 ` pinskia at gcc dot gnu dot org
  2006-11-21 10:48 ` bkoz at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-27 21:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2005-10-27 21:55 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-10-27 21:55:03
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24537


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx
  2005-10-26 10:28 [Bug libstdc++/24537] New: " pcarlini at suse dot de
                   ` (2 preceding siblings ...)
  2005-10-27  6:04 ` bkoz at gcc dot gnu dot org
@ 2005-10-27  9:07 ` pcarlini at suse dot de
  2005-10-27 21:55 ` pinskia at gcc dot gnu dot org
  2006-11-21 10:48 ` bkoz at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pcarlini at suse dot de @ 2005-10-27  9:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pcarlini at suse dot de  2005-10-27 09:07 -------
(In reply to comment #3)
> Naming wise I think __gnu_ext makes more sense. It's what we should have used
> for the extension namespace from the beginning.

Of course I'm ok with __gnu_ext. Actually, I'm ok with anything you would
rather prefer, __gnu_legacy was just an example, meant to make totally
clear (for argumentation purposes too) that we are talking about legacy
stuff, indeed.

Anyway, when I will actually prepare a patch, it will move the old HP/SGI
facilities to namespace __gnu_ext, agreed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24537


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx
  2005-10-26 10:28 [Bug libstdc++/24537] New: " pcarlini at suse dot de
  2005-10-26 12:34 ` [Bug libstdc++/24537] " pinskia at gcc dot gnu dot org
  2005-10-26 12:37 ` pcarlini at suse dot de
@ 2005-10-27  6:04 ` bkoz at gcc dot gnu dot org
  2005-10-27  9:07 ` pcarlini at suse dot de
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2005-10-27  6:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bkoz at gcc dot gnu dot org  2005-10-27 06:04 -------

Naming wise I think __gnu_ext makes more sense. It's what we should have used
for the extension namespace from the beginning.

-benjamin


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24537


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx
  2005-10-26 10:28 [Bug libstdc++/24537] New: " pcarlini at suse dot de
  2005-10-26 12:34 ` [Bug libstdc++/24537] " pinskia at gcc dot gnu dot org
@ 2005-10-26 12:37 ` pcarlini at suse dot de
  2005-10-27  6:04 ` bkoz at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pcarlini at suse dot de @ 2005-10-26 12:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pcarlini at suse dot de  2005-10-26 12:37 -------
(In reply to comment #1)
> Seems like to me, this is what namespaces are for anyways?  and non-uglified
> names are correct, maybe it needs to be a different namespace like
> __gnu_cxx::__implemenation instead which seems like the more correct thing to
> do than uglify names.  I think this is what Boost does too.

Indeed, the idea is using namespaces. But seems much more clean to me using
separate namespaces, not nested ones, for our problem: __gnu_cxx for new
extensions and __gnu_legacy for legacy extensions. The implementation proper
bits are instead already inside __gnu_internal.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24537


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx
  2005-10-26 10:28 [Bug libstdc++/24537] New: " pcarlini at suse dot de
@ 2005-10-26 12:34 ` pinskia at gcc dot gnu dot org
  2005-10-26 12:37 ` pcarlini at suse dot de
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-26 12:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-26 12:34 -------
Seems like to me, this is what namespaces are for anyways?  and non-uglified
names are correct, maybe it needs to be a different namespace like
__gnu_cxx::__implemenation instead which seems like the more correct thing to
do than uglify names.  I think this is what Boost does too.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24537


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-11-04 19:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24537-4@http.gcc.gnu.org/bugzilla/>
2022-11-04 19:20 ` [Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx redi at gcc dot gnu.org
2005-10-26 10:28 [Bug libstdc++/24537] New: " pcarlini at suse dot de
2005-10-26 12:34 ` [Bug libstdc++/24537] " pinskia at gcc dot gnu dot org
2005-10-26 12:37 ` pcarlini at suse dot de
2005-10-27  6:04 ` bkoz at gcc dot gnu dot org
2005-10-27  9:07 ` pcarlini at suse dot de
2005-10-27 21:55 ` pinskia at gcc dot gnu dot org
2006-11-21 10:48 ` bkoz at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).