I've been making libraries of mango, which of course involves compiling every module. I've nearly got everything compiling, but there were a few fairly trivial fixes to make it compile. I should probably commit these as multiple tickets, but ... instead I'm not :)
Here's a brief of all the fixes:
- mango/db/memcache/MemCache.d
- Capitalization, std.thread not std.Thread
- mango/locks/CyclicBarrier.d, mango/locks/Exchanger.d, mango/locks/ReentrantLock.d
- These needed TimeUnit? and Condition - I think they probably got it from some other import when imports were public.
- mango/sys/Epoch.d
- This claimed to import timezone from std.c.time, but didn't actually ... this should probably be in version (Posix)
- mango/sys/Atomic.d
- A chunk of this assembly code doesn't work on GDC (a few commands still don't work :( )
The patch is attached.