public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/32282]  New: dynamic_cast compiles where static_cast fails
@ 2007-06-11 11:06 Woebbeking at web dot de
  2007-06-11 11:19 ` [Bug c++/32282] " pinskia at gcc dot gnu dot org
  2007-06-11 11:43 ` Woebbeking at web dot de
  0 siblings, 2 replies; 3+ messages in thread
From: Woebbeking at web dot de @ 2007-06-11 11:06 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

Hi,

this happens if you cast to an unrelated class. Could you at least give a
warning.


Cheers,
André


-- 
           Summary: dynamic_cast compiles where static_cast fails
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Woebbeking at web dot de


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


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

* [Bug c++/32282] dynamic_cast compiles where static_cast fails
  2007-06-11 11:06 [Bug c++/32282] New: dynamic_cast compiles where static_cast fails Woebbeking at web dot de
@ 2007-06-11 11:19 ` pinskia at gcc dot gnu dot org
  2007-06-11 11:43 ` Woebbeking at web dot de
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-11 11:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-06-11 11:18 -------


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


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/32282] dynamic_cast compiles where static_cast fails
  2007-06-11 11:06 [Bug c++/32282] New: dynamic_cast compiles where static_cast fails Woebbeking at web dot de
  2007-06-11 11:19 ` [Bug c++/32282] " pinskia at gcc dot gnu dot org
@ 2007-06-11 11:43 ` Woebbeking at web dot de
  1 sibling, 0 replies; 3+ messages in thread
From: Woebbeking at web dot de @ 2007-06-11 11:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from Woebbeking at web dot de  2007-06-11 11:42 -------
Oops, I searched for dynamic_cast but didn't find that.


-- 


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


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

end of thread, other threads:[~2007-06-11 11:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-11 11:06 [Bug c++/32282] New: dynamic_cast compiles where static_cast fails Woebbeking at web dot de
2007-06-11 11:19 ` [Bug c++/32282] " pinskia at gcc dot gnu dot org
2007-06-11 11:43 ` Woebbeking at web 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).