[Bug 95] New: Definition of _tls_data_array with version( OSX ) in thread.d

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Sat Feb 1 01:52:57 PST 2014


http://bugzilla.gdcproject.org/show_bug.cgi?id=95

             Bug #: 95
           Summary: Definition of _tls_data_array with version( OSX ) in
                    thread.d
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: x86
        OS/Version: OSX
            Status: NEW
          Severity: major
          Priority: Normal
         Component: libgdruntime
        AssignedTo: ibuclaw at gdcproject.org
        ReportedBy: slavo5150 at yahoo.com


This issue was migrated from
https://bitbucket.org/goshawk/gdc/issue/357/definition-of-_tls_data_array-with-version


Definition of _tls_data_array occurs inside a

version( DigitalMars ) { else version( OSX ) { extern(C) { gshared void[][2]
_tls_data_array; } } }

To compile on OSX, the _tls_data_array should be outside the version(
DigitalMars ) block. Moving it to the version( OSX ) block starting at line 275
results in a successful compile with gcc-4.8-20120722.

Thanks, Jon Andrew jonfandrew at gmail.com

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the D.gnu mailing list