This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: multiple defs. of TLS common symbols?


Gary Funck <gary@intrepid.com> writes:

> Do you/others on this list have a reference that supports
> the statement: "Treating uninitialized variables
> as common variables is a non-standard extension even for C90."?
> (I did see a thread on this list, late April 1999, that
> discussed some of the issues, but nothing definitive.)

I have a hardcopy of the C90 standard but I can't easily show it to
you.

Online I found this:

    http://www.faqs.org/docs/artu/c_evolution.html

    [T]he ANSI Draft Standard finally settled on definition-reference
    rules in 1988.  Common-block public storage is still admitted as
    an acceptable variation by the standard.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]