Mail Archives: djgpp/1994/09/20/14:54:30
> SE> I would have expected to get a 0 as output, and in fact this was the
> SE> case until v1.11m5. The current version prints a large negative
> SE> number...
>
> I don't think that there's any provision in the C language for what
> uninitialized variables
> start out as. delay could end up as anything!
Uninitialized variables that end up in the BSS section (most do) are
guaranteed to be initialized to zero. The problem is that the delay
in libc causes the symbol to NOT end up in the BSS section, so all
bets are off.
- Raw text -