public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/38108] broken c++ diagnostics?
  2008-11-13 21:23 [Bug other/38108] New: broken c++ diagnostics? pluto at agmk dot net
@ 2008-11-13 21:23 ` pluto at agmk dot net
  2008-11-13 22:07 ` pluto at agmk dot net
  1 sibling, 0 replies; 3+ messages in thread
From: pluto at agmk dot net @ 2008-11-13 21:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pluto at agmk dot net  2008-11-13 21:22 -------
Created an attachment (id=16666)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16666&action=view)
testcase.


-- 


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


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

* [Bug other/38108]  New: broken c++ diagnostics?
@ 2008-11-13 21:23 pluto at agmk dot net
  2008-11-13 21:23 ` [Bug other/38108] " pluto at agmk dot net
  2008-11-13 22:07 ` pluto at agmk dot net
  0 siblings, 2 replies; 3+ messages in thread
From: pluto at agmk dot net @ 2008-11-13 21:23 UTC (permalink / raw)
  To: gcc-bugs

$ g++ 0.ii -c

0.ii:106872: error: declaration of 'class R'
0.ii:106610: error:  shadows template parm 'class R'

                     ^^^^^^^^^^^ this looks weird for me.

0.ii:106886: error: declaration of 'class R'
0.ii:106610: error:  shadows template parm 'class R'
0.ii:106890: error: invalid use of incomplete type 'class boost::function0<R>'
0.ii:106614: error: declaration of 'class boost::function0<R>'
0.ii:106901: error: declaration of 'class R'
0.ii:106610: error:  shadows template parm 'class R'
0.ii:106907: error: 'void boost::function0<R>::operator==(const
boost::function0<R>&, const boost::function0<R>&)' must take exactly one
argument
0.ii:106908: error: declaration of 'class R'
0.ii:106610: error:  shadows template parm 'class R'
0.ii:106914: error: 'void boost::function0<R>::operator!=(const
boost::function0<R>&, const boost::function0<R>&)' must take exactly one
argument
0.ii:106915: error: declaration of 'class R'
0.ii:106610: error:  shadows template parm 'class R'
0.ii:106923: error: 'struct boost::function<R ()()>::clear_type' redeclared
with different access
0.ii:106996: error: 'class boost::function<R ()()>' redeclared with different
access
0.ii:107006: error: expected unqualified-id before 'namespace'
0.ii:119277: error: expected '}' at end of input


-- 
           Summary: broken c++ diagnostics?
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-gnu-linux


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


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

* [Bug other/38108] broken c++ diagnostics?
  2008-11-13 21:23 [Bug other/38108] New: broken c++ diagnostics? pluto at agmk dot net
  2008-11-13 21:23 ` [Bug other/38108] " pluto at agmk dot net
@ 2008-11-13 22:07 ` pluto at agmk dot net
  1 sibling, 0 replies; 3+ messages in thread
From: pluto at agmk dot net @ 2008-11-13 22:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pluto at agmk dot net  2008-11-13 22:06 -------
arghh, this hell of macros in boost is broken. sorry for the noise.


-- 

pluto at agmk dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
            Summary|broken c++ diagnostics?     |broken c++ diagnostics?


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


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

end of thread, other threads:[~2008-11-13 22:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-13 21:23 [Bug other/38108] New: broken c++ diagnostics? pluto at agmk dot net
2008-11-13 21:23 ` [Bug other/38108] " pluto at agmk dot net
2008-11-13 22:07 ` pluto at agmk dot net

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