Re: [AD] A small bugfix in allegro_exit |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2003-06-02, Vincent <Vincent.Penquerch@xxxxxxxxxx> wrote:
> Speaking of which, does anyone know the rationale to use
> constructor routines with GCC ? It means stuff is called before
> allegro_init is called, which is not very friendly.
To reduce the size of statically linked programs by not pulling in
unused modules.
> Also, it means that the image loader/saver list, for instance,
> is cleaned to the start state (eg, PCX/TGA/BMP/LBM), and not
> entirely.
> That's the only leak Fortify is reporting, and it tarnishes my
> log file ;)
There's a --disable-constructors or something like that. I don't know
if anyone has tested it recently.
--
王浩禎