Re: Position of unittest attributes

2015-03-22 Thread Rikki Cattermole via Digitalmars-d-learn
On 22/03/2015 10:29 p.m., Stefan Frijters wrote: So I was trying to add some attributes to unittests in my code, but apparently they are only allowed *before* the unittest keyword, which I think makes it much harder to quickly see the unittests when scrolling through the code: void foo() @safe

Re: OPTLINK Error 45 Too Much DEBUG Data for Old CodeView format

2015-03-22 Thread Etienne via Digitalmars-d-learn
On 3/20/2015 1:35 PM, Koi wrote: Hello, after some coding i needed to update some external libraries like DerelictSDL2. As we all know, one update isn't enough, so i updated my whole d-environment at the end of the day (current dmd version, VisualD). After getting rid of some linking errors

Re: Position of unittest attributes

2015-03-22 Thread Stefan Frijters via Digitalmars-d-learn
On Sunday, 22 March 2015 at 09:42:44 UTC, Rikki Cattermole wrote: On 22/03/2015 10:29 p.m., Stefan Frijters wrote: So I was trying to add some attributes to unittests in my code, but apparently they are only allowed *before* the unittest keyword, which I think makes it much harder to quickly

Re: Contributing to Phobos Documentation

2015-03-22 Thread Tobias Pankrath via Digitalmars-d-learn
On Saturday, 21 March 2015 at 17:48:41 UTC, Craig Dillabaugh wrote: Motivated by this thread: http://forum.dlang.org/thread/measc3$qic$1...@digitalmars.com I was hoping to see if I could do some work on the Phobos documentation, but I am curious to know what the easiest way for someone with

Position of unittest attributes

2015-03-22 Thread Stefan Frijters via Digitalmars-d-learn
So I was trying to add some attributes to unittests in my code, but apparently they are only allowed *before* the unittest keyword, which I think makes it much harder to quickly see the unittests when scrolling through the code: void foo() @safe pure nothrow @nogc { } // Ok - I normally use

Re: Contributing to Phobos Documentation

2015-03-22 Thread Meta via Digitalmars-d-learn
On Sunday, 22 March 2015 at 09:26:51 UTC, Tobias Pankrath wrote: http://wiki.dlang.org/Building_DMD Maybe I was doing it wrong, but I couldn't build the docs following those instructions on Windows 64-bit. What I did was: cd tools make -fwin32.mak cd ..\phobos make -fwin32.mak html (copy

Re: OPTLINK Error 45 Too Much DEBUG Data for Old CodeView format

2015-03-22 Thread Koi via Digitalmars-d-learn
thank you Etienne, after i replaced dmd's link.exe my project compiles successfully in debug-mode again. i'll add this info in my todo-after-installing-DMD.txt just in case. On Sunday, 22 March 2015 at 14:29:14 UTC, Etienne wrote: This is due to a high amount of symbols in your code. I

Re: OPTLINK Error 45 Too Much DEBUG Data for Old CodeView format

2015-03-22 Thread Koi via Digitalmars-d-learn
On Saturday, 21 March 2015 at 21:25:26 UTC, Trass3r wrote: Just save yourself lots of headaches and abandon the optlink/omf crap with -m64 resp. -m32mscoff. thank you. After some reading about m32mscoff, i have to recompile druntime and phobos with MODEL=32mscoff to use the new switch?

Re: refactoring issues

2015-03-22 Thread Ivan Kazmenko via Digitalmars-d-learn
On Friday, 20 March 2015 at 18:37:57 UTC, Vladimir Panteleev wrote: On Friday, 20 March 2015 at 18:36:19 UTC, Vladimir Panteleev wrote: On Friday, 20 March 2015 at 18:05:07 UTC, Ivan Kazmenko wrote: Thanks. I was able to reproduce the workflow you showed in the gif to the part where an error