[ros-kernel] Variable initialization bug in GCC 3.3.1

Eric Kohl eric.kohl at t-online.de
Wed Jun 2 18:07:20 CEST 2004


"Eric Kohl" <eric.kohl at t-online.de> wrote:

> I just found a bug in GCC 3.3.1.

Ouch! It's not a bug, it's a feature!

GCC 3.3 and above locate zero-initialized variable in the .bss segment. We
have to disable this feature for FreeLoader because allocated memory is not
zero-initialized by default.


Regards,
Eric



More information about the Ros-kernel mailing list