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

Ticket #1957 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

use single memmove declaration

Reported by: mwarning Assigned to: community
Priority: major Milestone: 1.0
Component: Tango Version: 0.99.9 Kai
Keywords: Cc:

Description

Tango has a few duplicate memmove declarations that also not quite right (e.g. for 64bit). An argument for duplicate declarations is that otherwise big modules might be pulled in along and will produce bloat. (blame DMD for this behavior, as usual ;) )

But tango.stdc.string and tango.stdc.stddef are quite small, so it does no harm to import these modules.

Attachments

memmove.patch (2.4 kB) - added by mwarning on 07/16/10 19:47:31.

Change History

07/16/10 19:47:31 changed by mwarning

  • attachment memmove.patch added.

07/16/10 19:48:51 changed by mwarning

ticket is based on input from wm4 and kris.

07/16/10 19:52:33 changed by winterwar

That's not the only issue about 64 cleanliness. There are lots of C stdlib function prototypes scattered across normal Tango modules, instead of using proper tango.stdc. imports. All these need to be cleaned up eventually.

Maybe this ticket should track these?

07/16/10 20:04:27 changed by mwarning

Would be nice if someone would make a new ticket for those.

07/16/10 20:05:28 changed by mwarning

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

(In [5499]) fixes #1957 :: use single memmove declaration; thanks wm4