[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] GCC 3.2 status update
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] GCC 3.2 status update |
Date: |
Wed, 27 Nov 2002 16:45:47 +0100 (MET) |
> So, destroy_tree_rep never performs a cast to a derived type of the
> dynamic type of an object, but only cast *to* the dynamic type.
>
> However, I am unsure that the allocator code strictly respects those
> conversion rules. But disabling the allocator does not seem to fix our
> problems... However, I would be a good thing to fix that.
>
> The code might violate the conversion rules at some other places. In
> the pre-nogencc implementation of the event classes, there was such an
> illegal cast (which I removed because nogencc caused it to break). A
> good way to look for those problems would be to look for C-style casts
> (and replace them by modern casting techniques). I had a quick look at
> the code using a regex like ') *[(a-z_A-Z]' (not sure) but I found
> nothing incriminating. Maybe someone else should review that too.
The problem with "modern casting techniques" may be that they require
an additional time overhead. In any case, I still have the impression that
my casts are OK, since I cast to a pointer of the type *I know*
it should have.
- Re: [Texmacs-dev] GCC 3.2 status update, (continued)
- Re: [Texmacs-dev] GCC 3.2 status update, Igor V. Kovalenko, 2002/11/12
- Re: [Texmacs-dev] GCC 3.2 status update, Igor V. Kovalenko, 2002/11/25
- Re: [Texmacs-dev] GCC 3.2 status update, Joris van der Hoeven, 2002/11/25
- Re: [Texmacs-dev] GCC 3.2 status update, Igor V. Kovalenko, 2002/11/25
- Re: [Texmacs-dev] GCC 3.2 status update, David Allouche, 2002/11/26
- Re: [Texmacs-dev] GCC 3.2 status update, Igor V. Kovalenko, 2002/11/26
- Re: [Texmacs-dev] GCC 3.2 status update, David Allouche, 2002/11/27
- Re: [Texmacs-dev] GCC 3.2 status update,
Joris van der Hoeven <=
- Re: [Texmacs-dev] GCC 3.2 status update, David Allouche, 2002/11/27
- Re: [Texmacs-dev] GCC 3.2 status update, Joris van der Hoeven, 2002/11/27
- Re: [Texmacs-dev] GCC 3.2 status update, David Allouche, 2002/11/27
- Re: [Texmacs-dev] GCC 3.2 status update, Joris van der Hoeven, 2002/11/27
Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., Joris van der Hoeven, 2002/11/05