Re: Stack allocator?

2009-04-19 Thread Tim Matthews
On Sat, 18 Apr 2009 16:42:28 -0700 Robert Fraser fraseroftheni...@gmail.com wrote: I remember a while back someone posted an easy dynamic stack allocator... anyone have the link? Thanks, Robert Tango has this:

Re: associative arrays with arrays as value

2009-04-19 Thread bearophile
MLT: Why is that? I think this is the right syntax (I am using Phobos on D1): import std.stdio: writefln; void main() { int[5][string] aa = [a: [1, 2, 3, 4, 5]]; aa[b][] = aa[a]; # line 5 writefln(aa); } But it gives an: Error: ArrayBoundsError temp(5) It looks like a bug. Static

Re: Stack allocator?

2009-04-19 Thread Denis Koroskin
On Sun, 19 Apr 2009 10:15:41 +0400, Tim Matthews tim.matthe...@gmail.com wrote: On Sat, 18 Apr 2009 16:42:28 -0700 Robert Fraser fraseroftheni...@gmail.com wrote: I remember a while back someone posted an easy dynamic stack allocator... anyone have the link? Thanks, Robert Tango has this:

Re: problem with gdc for OSX?

2009-04-19 Thread Denis Koroskin
On Sun, 19 Apr 2009 12:37:11 +0400, MLT n...@anon.com wrote: Sorry, this could be a bug report and not a question, and probably the wrong place to post it then. I installed gdc according to the instructions given in http://www.dsource.org/projects/tango/wiki/MacOSXInstall from

What does this linker messages try to tell me?

2009-04-19 Thread Frank Benoit
OPTLINK (R) for Win32 Release 8.00.1 Copyright (C) Digital Mars 1989-2004 All rights reserved. C:\Project\dwtinst\dwt-rcp\lib\org.eclipse.core.databinding.lib(AbstractObservableList) Offset F0567H Record Type 00C3 Error 1: Previous Definition Different :

Re: What does this linker messages try to tell me?

2009-04-19 Thread Christopher Wright
Frank Benoit wrote: OPTLINK (R) for Win32 Release 8.00.1 Copyright (C) Digital Mars 1989-2004 All rights reserved. C:\Project\dwtinst\dwt-rcp\lib\org.eclipse.core.databinding.lib(AbstractObservableList) Offset F0567H Record Type 00C3 Error 1: Previous Definition Different :

Re: private module symbols

2009-04-19 Thread Stewart Gordon
Gide Nwawudu wrote: snip Looks like a variant of bug 314. http://d.puremagic.com/issues/show_bug.cgi?id=314 Actually, it's this one http://d.puremagic.com/issues/show_bug.cgi?id=2830 Stewart.

Re: What does this linker messages try to tell me?

2009-04-19 Thread Frank Benoit
Christopher Wright schrieb: There are two definitions for AstractObservableList.add(Object) in org.eclipse.core.databinding.observable.list.AstractObservableList. Most of the rest of the problems are the same issue, just for different functions. I would guess that you built one version,