On Sunday, 25 October 2015 at 21:42:15 UTC, Stefan wrote:

// compile with: ldc2 -cpp-args -std=gnu++11 main.d

modmap (C++) "cmath";

import (C++) std._;

import std.stdio;

int main()
        return 0;

gives a lot of "error: constexpr function never produces a constant expression" messages. Not sure this is supposed to work?

Hi and thank you for testing!

The code compiles and runs with C++11 disabled, I don't know why these errors occur while generating the PCH with C++11 enabled, looking into it.

Reply via email to