Re: align(n) not working

2010-12-28 Thread %u
I just realized that this is an automated forum... just wanted to say sorry about posting here, and thank you for bearing with this!

align(n) not working

2010-12-27 Thread %u
Hi, I'm not sure if I'm doing something wrong, but it seems like struct alignment isn't really working. When I execute this code: struct Temp { ubyte x; align(16) ubyte y; } auto o = Temp(); std.stdio.writefln("Address of ali

GC.collect() and GC.minimize() not releasing memory

2010-12-23 Thread %u
Hi, I'm running this piece of code, but the memory isn't getting freed (as judging from Task Manager). It doesn't help if I call collect() and minimize() in a loop... is something wrong? Or is Task Manager not a reliable indicator of this? Thank you! import std.stdio; import core.memory; import

Linker /Binary:N Switch Doesn't Work

2010-12-07 Thread %u
Hello, I am trying to write code that will be called by my own boot loader, and as such, my code is based directly at the memory address of 1 MB. Everything works fine, until I need to use a pointer -- if I do, I must first increment it by 1 MB before using it, because all pointers are addressed r