Turbo C is an old compiler.  In many instances, it conflicts with the
C standard.

On 6/11/06, Arkady V.Belousov <[EMAIL PROTECTED]> wrote:
> Hi!
>
> 12-Июн-2006 00:45 [EMAIL PROTECTED] (Eric Auer) wrote to
> freedos-devel@lists.sourceforge.net:
>
> EA> Hi Arkady, I would vote for the "explicit zero" in this
> EA> case. As far as I remember, zeroing out the BSS at start
> EA> is a compiler option,
>
>       No, BSS zeroed at start always - this is required by standard to
> zero-initialize all static uninitialized variables. And BSS segment is used
> to reduce executable size, because this segment doesn't present in
> executable and created (and initialized) only in memory when program starts.
> Issue is only that not all compilers automatically place explicitly
> zero-initialized variables in BSS (instead DATA).
>
> EA> so when somebody switches that off,
> EA> we would have a problem.
>
>       No, there is no such option.
>
>
> _______________________________________________
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>


-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya

_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to