public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24979]  New: DECL_MAIN_P is declared twice in cp-tree.h
@ 2005-11-21 21:08 pinskia at gcc dot gnu dot org
  2005-11-24 17:10 ` [Bug c++/24979] " reichelt at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-21 21:08 UTC (permalink / raw)
  To: gcc-bugs

I was too lazy to fix this so instead I was filing a bug.

Anyways DECL_MAIN_P is declared twice in cp-tree.h with the same definition.  I
don't know or when it happend but it does.


-- 
           Summary: DECL_MAIN_P is declared twice in cp-tree.h
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


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

* [Bug c++/24979] DECL_MAIN_P is declared twice in cp-tree.h
  2005-11-21 21:08 [Bug c++/24979] New: DECL_MAIN_P is declared twice in cp-tree.h pinskia at gcc dot gnu dot org
@ 2005-11-24 17:10 ` reichelt at gcc dot gnu dot org
  2005-11-24 17:11 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-11-24 17:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from reichelt at gcc dot gnu dot org  2005-11-24 17:10 -------
Confirmed.
The duplicate definition was introduced in GCC 3.0.

I'll take care of the patch.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |reichelt at gcc dot gnu dot
                   |dot org                     |org


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


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

* [Bug c++/24979] DECL_MAIN_P is declared twice in cp-tree.h
  2005-11-21 21:08 [Bug c++/24979] New: DECL_MAIN_P is declared twice in cp-tree.h pinskia at gcc dot gnu dot org
  2005-11-24 17:10 ` [Bug c++/24979] " reichelt at gcc dot gnu dot org
@ 2005-11-24 17:11 ` reichelt at gcc dot gnu dot org
  2005-11-27 22:37 ` reichelt at gcc dot gnu dot org
  2005-11-27 22:38 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-11-24 17:11 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt 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-11-24 17:11:00
               date|                            |


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


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

* [Bug c++/24979] DECL_MAIN_P is declared twice in cp-tree.h
  2005-11-21 21:08 [Bug c++/24979] New: DECL_MAIN_P is declared twice in cp-tree.h pinskia at gcc dot gnu dot org
  2005-11-24 17:10 ` [Bug c++/24979] " reichelt at gcc dot gnu dot org
  2005-11-24 17:11 ` reichelt at gcc dot gnu dot org
@ 2005-11-27 22:37 ` reichelt at gcc dot gnu dot org
  2005-11-27 22:38 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-11-27 22:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from reichelt at gcc dot gnu dot org  2005-11-27 22:37 -------
Subject: Bug 24979

Author: reichelt
Date: Sun Nov 27 22:37:06 2005
New Revision: 107578

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107578
Log:
        PR c++/24979
        * cp-tree.h (DECL_MAIN_P): Remove duplicate definition.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h


-- 


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


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

* [Bug c++/24979] DECL_MAIN_P is declared twice in cp-tree.h
  2005-11-21 21:08 [Bug c++/24979] New: DECL_MAIN_P is declared twice in cp-tree.h pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-11-27 22:37 ` reichelt at gcc dot gnu dot org
@ 2005-11-27 22:38 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-11-27 22:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from reichelt at gcc dot gnu dot org  2005-11-27 22:38 -------
Fixed on mainline.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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


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

end of thread, other threads:[~2005-11-27 22:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-21 21:08 [Bug c++/24979] New: DECL_MAIN_P is declared twice in cp-tree.h pinskia at gcc dot gnu dot org
2005-11-24 17:10 ` [Bug c++/24979] " reichelt at gcc dot gnu dot org
2005-11-24 17:11 ` reichelt at gcc dot gnu dot org
2005-11-27 22:37 ` reichelt at gcc dot gnu dot org
2005-11-27 22:38 ` reichelt 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).