www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 95] New: Definition of _tls_data_array with version( OSX ) in

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 gdcproject.org
        ReportedBy: slavo5150 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 gmail.com

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