public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18320] New: version drift 3.4.0->3.4.2?
@ 2004-11-06 21:08 igodard at pacbell dot net
  2004-11-06 21:18 ` [Bug c++/18320] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2004-11-06 21:08 UTC (permalink / raw)
  To: gcc-bugs

I'm getting user reports of problems compiling constructs like the following on 
3.4.2. I develop on 3.4.0 which is happy with it.

class foo {
const foo* foo;
};

My understanding of the standard was that the new name in a declaration comes 
into scope at the position of the identifier, so there is no ambiguity in the 
two uses of "foo" in the pointer member declaration. This seems to be what 3.4.0 
does. Users report messages like:

/home/art/dev/ootbc/common/include/powerset.hh:289: error: declaration of 
`const powerset<E, alloc>*powerset<E, alloc>::iterator::powerset'
/home/art/dev/ootbc/common/include/powerset.hh:134: error: changes meaning of 
`powerset' from `class powerset<E, alloc>'

for similar constructs in 3.4.2.

I tried this on Comeau, and it may gave broken their compiler: the online system 
reports "compilation failed" but does *not* produce an actual error message.

Does this reflect a bug in 3.4.2 or a fix of 3.4.0?

Ivan

-- 
           Summary: version drift 3.4.0->3.4.2?
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/18320] version drift 3.4.0->3.4.2?
  2004-11-06 21:08 [Bug c++/18320] New: version drift 3.4.0->3.4.2? igodard at pacbell dot net
@ 2004-11-06 21:18 ` pinskia at gcc dot gnu dot org
  2005-07-31  5:42 ` pinskia at gcc dot gnu dot org
  2005-07-31  5:46 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-06 21:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-06 21:18 -------
17353

*** This bug has been marked as a duplicate of 17644 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

* [Bug c++/18320] version drift 3.4.0->3.4.2?
  2004-11-06 21:08 [Bug c++/18320] New: version drift 3.4.0->3.4.2? igodard at pacbell dot net
  2004-11-06 21:18 ` [Bug c++/18320] " pinskia at gcc dot gnu dot org
@ 2005-07-31  5:42 ` pinskia at gcc dot gnu dot org
  2005-07-31  5:46 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-31  5:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-31 05:42 -------
Reopening to ...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


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


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

* [Bug c++/18320] version drift 3.4.0->3.4.2?
  2004-11-06 21:08 [Bug c++/18320] New: version drift 3.4.0->3.4.2? igodard at pacbell dot net
  2004-11-06 21:18 ` [Bug c++/18320] " pinskia at gcc dot gnu dot org
  2005-07-31  5:42 ` pinskia at gcc dot gnu dot org
@ 2005-07-31  5:46 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-31  5:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-31 05:42 -------
Mark as a dup of bug 17353.

*** This bug has been marked as a duplicate of 17353 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2005-07-31  5:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-06 21:08 [Bug c++/18320] New: version drift 3.4.0->3.4.2? igodard at pacbell dot net
2004-11-06 21:18 ` [Bug c++/18320] " pinskia at gcc dot gnu dot org
2005-07-31  5:42 ` pinskia at gcc dot gnu dot org
2005-07-31  5:46 ` pinskia 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).