Re: Implicit nothrow with -betterC

2017-12-09 Thread Manuel Maier via Digitalmars-d-learn
Thanks Adam, that cleared it up for me.

Implicit nothrow with -betterC

2017-12-03 Thread Manuel Maier via Digitalmars-d-learn
I've been experimenting with the -betterC switch and stumbled upon something that didn't quite make sense to me. I've put together a small example [1] of Win32 code with a window callback that has to be nothrow as per the definition of WNDPROC somewhere in core.sys.windows. However, calling

Re: Chocolatey Packages for DMD, LDC, and GDC

2017-11-30 Thread Manuel Maier via Digitalmars-d
On Thursday, 30 November 2017 at 10:53:02 UTC, Jacob Carlborg wrote: Done: https://github.com/jacob-carlborg/dvm#limitations That's great, thanks!

Re: Chocolatey Packages for DMD, LDC, and GDC

2017-11-29 Thread Manuel Maier via Digitalmars-d
On Wednesday, 29 November 2017 at 16:04:04 UTC, Jacob Carlborg wrote: On 2017-11-28 20:04, Manuel Maier wrote: Another thing I don't think it does is patching the sc.ini with Visual Studio environment variables, like the dmd installer does. No, it basically only extracts the downloaded

Re: Chocolatey Packages for DMD, LDC, and GDC

2017-11-29 Thread Manuel Maier via Digitalmars-d
On Wednesday, 29 November 2017 at 01:49:00 UTC, rjframe wrote: dvm works well with cmd; not so much with Powershell. Indeed, I was using powershell! Using cmd now and suddenly it all works. In Powershell, the current directory and working directory are separate; `cd` outside your home

Re: Chocolatey Packages for DMD, LDC, and GDC

2017-11-28 Thread Manuel Maier via Digitalmars-d
On Tuesday, 28 November 2017 at 17:25:35 UTC, Jacob Carlborg wrote: On 2017-11-28 10:09, Atila Neves wrote: Thanks for the work. And ugh about the installer requiring user intervention, I was literally just about to write a script to install dmd on a Windows dev box, remembered I saw

Re: SublimeLinter-contrib-dmd: dmd feedback as you type

2017-11-28 Thread Manuel Maier via Digitalmars-d-announce
On Monday, 27 November 2017 at 11:26:51 UTC, Bastiaan Veelo wrote: On Sunday, 26 November 2017 at 10:15:05 UTC, Manuel Maier wrote: On Monday, 30 October 2017 at 22:22:42 UTC, Bastiaan Veelo wrote: [...] Unlike linters that are based on DScanner, it actually invokes dmd on the file that is

Re: DUB: "Invalid source/import path"

2017-11-26 Thread Manuel Maier via Digitalmars-d-dwt
On Monday, 15 May 2017 at 06:24:12 UTC, Ivan Trombley wrote: Never mind. Figured it out. It would be nice to know what it was that you figured out. I just ran into the same issue building gdub (https://github.com/jasc2v8/gdub). Invalid source/import path:

Re: SublimeLinter-contrib-dmd: dmd feedback as you type

2017-11-26 Thread Manuel Maier via Digitalmars-d-announce
On Monday, 30 October 2017 at 22:22:42 UTC, Bastiaan Veelo wrote: [...] Unlike linters that are based on DScanner, it actually invokes dmd on the file that is being edited, as you edit. [...] I just tried the plugin and it seems to work very well! Thanks for the good work. Have you

Chocolatey Packages for DMD, LDC, and GDC

2017-11-25 Thread Manuel Maier via Digitalmars-d
As some of you may know, there is a dmd package on the chocolatey community feed: https://chocolatey.org/packages/dmd This makes it as easy as saying... choco install dmd ... to get dmd on ones machine (once chocolatey is up and running). Unfortunately, this package is well behind the actual

Casting a class variable to void*

2016-04-10 Thread Manuel Maier via Digitalmars-d-learn
I'm not sure whether I've found a bug or if I found some very strange but intended behavior. If it is indeed intended behavior, I'd like to know the rationale behind it because this one surprised me a lot when I found it out after 16+ hours of debugging... Have a look at this code snippet:

Re: d-vulkan, automatically generated D bindings for Vulkan

2016-03-21 Thread Manuel Maier via Digitalmars-d-announce
On Monday, 21 March 2016 at 09:27:35 UTC, Manuel Maier wrote: On Saturday, 19 March 2016 at 01:12:08 UTC, Alex Parrill wrote: https://github.com/ColonelThirtyTwo/dvulkan [...] @Alex Parrill: Thanks for sharing! Looks nice. I was just wondering... why did you write the generator in python

Re: d-vulkan, automatically generated D bindings for Vulkan

2016-03-21 Thread Manuel Maier via Digitalmars-d-announce
On Saturday, 19 March 2016 at 01:12:08 UTC, Alex Parrill wrote: https://github.com/ColonelThirtyTwo/dvulkan [...] @Alex Parrill: Thanks for sharing! Looks nice. I was just wondering... why did you write the generator in python and not in D? Just curious :)

std.range: Lockstep vs. Zip

2016-03-02 Thread Manuel Maier via Digitalmars-d-learn
Hi there, I was wondering why I should ever prefer std.range.lockstep over std.range.zip. In my (very limited) tests std.range.zip offered the same functionality as std.range.lockstep, i.e. I was able to iterate using `foreach(key, value; std.range.zip(...)) {}` which, according to the docs,