[Bug c++/32934] No warning when creating a non const derived function from a const virtual function

2007-07-31 Thread CyrusOmega at gmail dot com
--- Comment #4 from CyrusOmega at gmail dot com 2007-07-31 21:41 --- Subject: Re: No warning when creating a non const derived function from a const virtual function Wow, thanks. I thought that -Wall was ALL warnings. grumble grumble... Andrew On 31 Jul 2007 21:32:32 -, fang at

[Bug c++/32934] No warning when creating a non const derived function from a const virtual function

2007-07-30 Thread CyrusOmega at gmail dot com
--- Comment #2 from CyrusOmega at gmail dot com 2007-07-30 12:04 --- (In reply to comment #1) > Well it is valid as B::print hides A::print. > Try doing: > #include > class A { > public: > virtual char * print() const { return "A\n";} > virtual ~A

[Bug c++/32934] New: No warning when creating a non const derived funtion from a const virtual funciton

2007-07-29 Thread CyrusOmega at gmail dot com
ning when creating a non const derived funtion from a const virtual funciton Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gn

[Bug c++/32832] Seg fault on member function that does not return a val

2007-07-20 Thread CyrusOmega at gmail dot com
--- Comment #2 from CyrusOmega at gmail dot com 2007-07-20 11:56 --- Subject: Re: Seg fault on member function that does not return a val Is there ANY case where this action would NOT result in a segfault!? Specifically, it is segfaulting because something is being freed that was

[Bug c++/32832] New: Seg fault on member function that does not return a val

2007-07-19 Thread CyrusOmega at gmail dot com
es not return a val Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: CyrusOmega at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32832