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

Ticket #384 (closed defect: fixed)

Opened 17 years ago

Last modified 17 years ago

can't compile text/localetime on Mac OS X

Reported by: Carlos Assigned to: sean
Priority: normal Milestone: 0.97 RC 1
Component: Tango Version:
Keywords: Cc:

Description

bud text/localetime.d -noautoimport -op -clean -full -g -debug -I.. -Ttext/localetime -unittest
/Users/carlos/Development/d/tango/trunk/tango/text/locale/Posix.d:84: Error: undefined identifier putenv
/Users/carlos/Development/d/tango/trunk/tango/text/locale/Posix.d:84: Error: function expected before (), not putenv of type int

Change History

04/07/07 22:34:27 changed by kris

  • owner changed from kris to sean.
  • milestone set to 0.97 RC 1.

According to larsivi's assessment, it seems like putenv() is wrapped in a version(linux) instead of a version(Posix) ... can you confirm and take care of it please, Sean?

04/07/07 22:35:29 changed by kris

er, that would be the declaration of putenv() in posix/stdlib.d :)

04/07/07 23:56:20 changed by Carlos

Confirmed. Line 160.

04/08/07 02:31:31 changed by sean

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

Closed by commit [2005].