Re: unittest affects next unittest

2014-08-02 Thread Jonathan M Davis via Digitalmars-d-learn
On Fri, 01 Aug 2014 23:09:37 + sigod via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: Code: http://dpaste.dzfl.pl/51bd62138854 (It was reduced by DustMite.) Have I missed something about structs? Or this simply a bug? Don't do this with a member variable: private Node *

Re: Checking for Callabilty of either f(x) or x.f

2014-08-02 Thread Nordlöw
On Friday, 1 August 2014 at 22:27:01 UTC, anonymous wrote: change the name to isCallableWith here Doh! Thx

Re: Trouble linking to static library with Visual D

2014-08-02 Thread Rainer Schuetze via Digitalmars-d-learn
On 02.08.2014 04:43, quakkels wrote: Hello D'ers, I've been really impressed with Visual D and I've decided to undertake my first D project using Visual D in Visual Studio 2012. However, I've had trouble trying to figure out how to link a static library. I've outlined my situation in this

Preferred program config file format and parsing library?

2014-08-02 Thread Gary Willoughby via Digitalmars-d-learn
What is the preferred format people here use for program config files? Json, Xml, ini, etc? Also what libraries exist to parse the preferred format?

Re: Preferred program config file format and parsing library?

2014-08-02 Thread Stefan Koch via Digitalmars-d-learn
On Saturday, 2 August 2014 at 12:42:00 UTC, Gary Willoughby wrote: What is the preferred format people here use for program config files? Json, Xml, ini, etc? Also what libraries exist to parse the preferred format? for me json is nice because it is virtually everywhere. for most casese

Re: Building SDC from source

2014-08-02 Thread Stefan Koch via Digitalmars-d-learn
On Sunday, 27 July 2014 at 15:15:05 UTC, Stefan Koch wrote: On Sunday, 27 July 2014 at 15:00:26 UTC, Dicebot wrote: On Sunday, 27 July 2014 at 14:44:29 UTC, Joseph Rushton Wakeling via Digitalmars-d-learn wrote: Adding a dlang.conf file in /etc/ld.so.conf.d/ which adds the /opt/dmd/lib64 path

Re: Trouble linking to static library with Visual D

2014-08-02 Thread quakkels via Digitalmars-d-learn
When you get to the link stage, you'll probably run into undefined symbols: you'll have to add a dependency in the Project Dependencies dialog to add the static library to the linker command line of the executable. Thank you for that tip! After a fair bit of frustration (and your help) I've

Re: Programming a Game in D? :D

2014-08-02 Thread David via Digitalmars-d-learn
Hi, not too sure if there's still someone reading this post, but i do have another question. So, I heared so much good stuff about D, it's powerfull, fast the syntax is nice, but well, why is D actually not used for common games yet? (I mean I know about some smaller projects, but nothing big)

Re: Programming a Game in D? :D

2014-08-02 Thread Foo via Digitalmars-d-learn
On Saturday, 2 August 2014 at 20:38:59 UTC, David wrote: Hi, not too sure if there's still someone reading this post, but i do have another question. So, I heared so much good stuff about D, it's powerfull, fast the syntax is nice, but well, why is D actually not used for common games yet? (I

Re: Pointer, if pointed type is unknown?

2014-08-02 Thread Daniel Gibson via Digitalmars-d-learn
Am 02.08.2014 22:21, schrieb seany: In my previous post (http://forum.dlang.org/thread/jcaomfduqeofobcul...@forum.dlang.org) I asked for an array of pointers to different types, as a stack for my own, where I can generate and insert runtime variables. However, seems like I need to know the type

Re: Programming a Game in D? :D

2014-08-02 Thread Rikki Cattermole via Digitalmars-d-learn
On 3/08/2014 8:38 a.m., David wrote: Hi, not too sure if there's still someone reading this post, but i do have another question. So, I heared so much good stuff about D, it's powerfull, fast the syntax is nice, but well, why is D actually not used for common games yet? (I mean I know about some

Re: Programming a Game in D? :D

2014-08-02 Thread Mike Parker via Digitalmars-d-learn
On 8/3/2014 5:38 AM, David wrote: Hi, not too sure if there's still someone reading this post, but i do have another question. So, I heared so much good stuff about D, it's powerfull, fast the syntax is nice, but well, why is D actually not used for common games yet? (I mean I know about some

Re: Programming a Game in D? :D

2014-08-02 Thread Kapps via Digitalmars-d-learn
On Sunday, 3 August 2014 at 03:39:25 UTC, Rikki Cattermole wrote: Lastly the game dev industry is very hesitant to change languages for a lot of reasons. And one of those is platform support. They won't be seeing D on e.g. Xbox One anytime soon if you get my drift. Apparently D already

Re: Programming a Game in D? :D

2014-08-02 Thread Rikki Cattermole via Digitalmars-d-learn
On 3/08/2014 5:18 p.m., Kapps wrote: On Sunday, 3 August 2014 at 03:39:25 UTC, Rikki Cattermole wrote: Lastly the game dev industry is very hesitant to change languages for a lot of reasons. And one of those is platform support. They won't be seeing D on e.g. Xbox One anytime soon if you get