Re: link.exe Error: 'Offset 38C42H Record Type 00C3'

2017-02-14 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 14 February 2017 at 09:00:37 UTC, realNoob wrote: Error 1: Previous Definition Different : _D4xaru8ezFilterFAAyaAyaZAAya That is saying the function module xaru; string[] ezFilter(string[], string); is defined twice. Could be something weird in your code, but I would guess the

Re: Alias type with different initialiser.

2017-02-14 Thread John Colvin via Digitalmars-d-learn
On Tuesday, 14 February 2017 at 11:34:22 UTC, Bastiaan Veelo wrote: On Monday, 13 February 2017 at 22:59:11 UTC, John Colvin wrote: Why not use a constructor instead of static opCall? I don't know, this comes from http://dlang.org/spec/struct.html#dynamic_struct_init. Your constructor looks

Re: Book your flights soon for DConf 2017

2017-02-14 Thread Nicholas Wilson via Digitalmars-d-announce
On Tuesday, 14 February 2017 at 09:20:31 UTC, Walter Bright wrote: I just got mine booked, and noticed the more convenient flights were nearly full. Hmm hope the ones going the other way around the globe don't get filled up. I've still got to wait to see if I'm speaking before I book mine.

Re: CTFE Status

2017-02-14 Thread ketmar via Digitalmars-d
Jacob Carlborg wrote: 301 posts (302 with this one). Time for a new thread? please, no! i just downloaded 4500+ posts only to get the root of this thread! don't turn it into useless effort!

Re: syntax sugar: std.path::buildPath instead of from!"std.path".buildPath

2017-02-14 Thread Meta via Digitalmars-d
On Tuesday, 14 February 2017 at 09:55:51 UTC, Jacob Carlborg wrote: On 2017-02-14 04:49, Timothee Cour via Digitalmars-d wrote: What about allowing syntax sugar as an alternative to relying on the new `from/Module` inline import idiom: ``` void fun(T)(std.stdio::File input, T value) if

Re: Mallocator and 'shared'

2017-02-14 Thread Kagamin via Digitalmars-d-learn
On Monday, 13 February 2017 at 17:44:10 UTC, Moritz Maxeiner wrote: To be clear: While I might, in general, agree that using shared methods only for thread safe methods seems to be a sensible restriction, neither language nor compiler require it to be so; and absence of evidence of a useful

Updating Windows SDK static libraries of the DMD distribution

2017-02-14 Thread Sönke Ludwig via Digitalmars-d
It's a quite frequent issue to get unresolved externals on Windows, because the lib files of the Windows platform SDK are still stuck at Windows XP age. It would make a lot of sense to update those to the latest Windows 10 SDK, but I couldn't find a place where those are present physically,

Re: Mallocator and 'shared'

2017-02-14 Thread Kagamin via Digitalmars-d-learn
On Tuesday, 14 February 2017 at 10:52:37 UTC, Johannes Pfau wrote: I remember some discussions about this some years ago and IIRC the final decision was that the compiler will not magically insert any barriers for shared variables. It was so some years ago, not sure if it's still so. I

Re: syntax sugar: std.path::buildPath instead of from!"std.path".buildPath

2017-02-14 Thread Andrei Alexandrescu via Digitalmars-d
On 02/14/2017 04:55 AM, Jacob Carlborg wrote: The signatures we already have in Phobos is quite ridiculous How are they so, and what steps can we take to improve them. Could you please give a few examples on how to do things better? Thx! -- Andrei

Re: Workaround for DIP 1005

2017-02-14 Thread Meta via Digitalmars-d
On Thursday, 9 February 2017 at 05:40:01 UTC, Jonathan M Davis wrote: On Friday, February 03, 2017 14:43:01 Dominikus Dittes Scherkl via Digitalmars-d wrote: Any thoughts? This is really cool, but I have a couple of concerns about this and how it seems deficient in comparison to DIP 1005. I

<    1   2