Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #518 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

core/Thread.d doesn't compile on Mac OS X

Reported by: Carlos Assigned to: sean
Priority: critical Milestone:
Component: Core Functionality Version: trunk
Keywords: Cc:

Description

Changeset [2346], after applying patch in patches/GDC-0.24-SVN.diff:

gdmd -c -release -O -inline -version=Posix -q,-nostdinc -I/Users/carlos/Development/d/tango/trunk/lib/common -I/Users/carlos/Development/d/tango/trunk/lib/.. -I/Users/carlos/Development/d/tango/trunk/lib/compiler/gdc -v1 -Hfcore/Thread.di core/Thread.d -ofcore/Thread.o
core/Thread.d:1009: Error: cannot implicitly convert expression (pthread_self()) of type _opaque_pthread_t * to int
core/Thread.d:1013: function tango.stdc.posix.pthread.pthread_getschedparam (_opaque_pthread_t *,int*,sched_param *) does not match parameter types (int,int*,sched_param *)
core/Thread.d:1013: Error: cannot implicitly convert expression (thread) of type int to _opaque_pthread_t *

Change History

06/20/07 22:31:28 changed by sean

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in changeset [2348] (I hope).