public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/16896] New: [3.4/3.5 Regression] Use of non-reserved names in stl_list.h
@ 2004-08-06 10:32 peturr02 at ru dot is
  2004-08-06 10:35 ` [Bug libstdc++/16896] " peturr02 at ru dot is
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: peturr02 at ru dot is @ 2004-08-06 10:32 UTC (permalink / raw)
  To: gcc-bugs

In include/bits/stl_list.h:

  struct _List_node_base
  {
    _List_node_base* _M_next;   ///< Self-explanatory
    _List_node_base* _M_prev;   ///< Self-explanatory

    static void
    swap(_List_node_base& __x, _List_node_base& __y);

    void
    transfer(_List_node_base * const __first,
             _List_node_base * const __last);

    void
    reverse();

    void
    hook(_List_node_base * const __position);

    void
    unhook();
  };

The names transfer, hook and unhook don't appear in the C++ standard, and are
not in the implementors namespace. They can therefore clash with user-defined
macros.

-- 
           Summary: [3.4/3.5 Regression] Use of non-reserved names in
                    stl_list.h
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peturr02 at ru dot is
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2004-12-30 15:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-06 10:32 [Bug libstdc++/16896] New: [3.4/3.5 Regression] Use of non-reserved names in stl_list.h peturr02 at ru dot is
2004-08-06 10:35 ` [Bug libstdc++/16896] " peturr02 at ru dot is
2004-08-06 10:49 ` pcarlini at suse dot de
2004-08-06 10:49 ` pcarlini at suse dot de
2004-08-06 15:51 ` pcarlini at suse dot de
2004-08-06 16:49 ` peturr02 at ru dot is
2004-08-06 16:59 ` pcarlini at suse dot de
2004-08-10 20:58 ` pcarlini at suse dot de
2004-08-24 17:03 ` cvs-commit at gcc dot gnu dot org
2004-12-08 20:46 ` [Bug libstdc++/16896] [3.4/4.0 " pinskia at gcc dot gnu dot org
2004-12-30 15:16 ` [Bug libstdc++/16896] " pcarlini at suse dot de

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