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

Ticket #424 (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

gdc 0.23, rev [2090]

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 -Hfcore/Thread.di core/Thread.d -ofcore/Thread.o
/Users/carlos/Development/d/tango/trunk/lib/../tango/stdc/posix/pthread.d:177: Error: cannot evaluate pthread_self() at compile time

Change History

04/20/07 17:50:15 changed by sean

Darnit. Structs really need ctors already. I'll fix it.

04/21/07 12:40:28 changed by sean

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

Fixed in changeset [2104]. Seems were stuck with mixins for pthread_cleanup until I come up with a better design.

04/21/07 13:50:06 changed by kris

how about copying the decl over to Thread.d in the interim?

04/22/07 14:48:54 changed by sean

I just tried another struct-based method that I hope will work. Please let me know if it doesn't.

04/22/07 21:33:23 changed by Carlos

It worked.

04/22/07 21:34:31 changed by Carlos

I spoke too fast:

bud conduits/composite.d -noautoimport -op -clean -full -g -debug -I.. -Tconduits/composite -unittest
/usr/bin/ld: Undefined symbols:
__D5tango4stdc5posix7pthread15pthread_cleanup6__initZ