[haiku-development] Re: gcc4 issues (again)

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 11 Mar 2008 10:30:42 +0100 CET

Maurice Kalinowski <haiku@xxxxxxxxxxxxx> wrote:
> As the gcc4 version is not binary-compatible at all, what about a 
> __GNUC__ >= 3 check in front of the destructor and make it virtual 
> then? 
> I know that readability will suffer a little bit, but on the other 
> hand, 
> we'll get rid of a lot of potential errors and warnings in the build 
> system?

See storage/Statable.h :-)
I think this is indeed the way to go for now.

Bye,
   Axel.


Other related posts: