https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87697
Arthur O'Dwyer changed:
What|Removed |Added
CC||arthur.j.odwyer at gmail dot
com
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87697
--- Comment #3 from jynelson at email dot sc.edu ---
Created attachment 44884
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44884&action=edit
Casting unrelated types gives an error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87697
--- Comment #2 from jynelson at email dot sc.edu ---
(In reply to Jonathan Wakely from comment #1)
> (In reply to jynelson from comment #0)
> > Casting a base class to a derived class gives no warning, even with -Wall
> > -Werror enabled. I've bee
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87697
--- Comment #1 from Jonathan Wakely ---
(In reply to jynelson from comment #0)
> Casting a base class to a derived class gives no warning, even with -Wall
> -Werror enabled. I've been told on IRC that this sort of cast is undefined
> behaviour ac