Re: Module-level private not honored?

2010-02-03 Thread Lars T. Kyllingstad
Ali Çehreli wrote: Do I understand module level access rights correctly, or is there a dmd bug? Instead of coming up with an example, I will use a Phobos class: std.demangle.MangleException is private in its module; yet I can use it in my program: import std.demangle; void main() {

Re: dmd crash help

2010-02-03 Thread Lars T. Kyllingstad
strtr wrote: BCS Wrote: Hello Strtr, If you can try it on linux it's not to hard to build a debug version of dmd and run it under the debugger. That will at least give you a filename/line number for the bug report and with a little thinking and a stack trace you can take a guess at what

Re: dmd crash help

2010-02-03 Thread Don
strtr wrote: strtr Wrote: dmd(1.048/55/56) crashed on me: I've also tried finding which part of the code is responsible, but I haven't found it yet. I keep forgetting my best method yet : compiling module by module until something strange comes up, or in this case, the compiler chokes.

Re: dmd crash help

2010-02-03 Thread strtr
strtr Wrote: dmd(1.048/55/56) crashed on me: AppName: dmd.exe AppVer: 0.0.0.0 ModName: unknown ModVer: 0.0.0.0Offset: 0002 There is a lot of crash data but I do not know where to start looking. I've also tried finding which part of the code is responsible, but I

Re: Creating a logging library and have questions

2010-02-03 Thread sybrandy
On 02/03/2010 12:03 AM, Rainer Deyke wrote: sybrandy wrote: 1) I use the current core.thread library and put all my messages in a buffer that the thread checks periodically, pulls off a new message, and then writes it to a file. There will be some work to make sure nothing collides with each