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

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

modmap (C++) "cmath";

import (C++) std._;

import std.stdio;

int main()
{
  writeln(sin(cast(float)0.8159));
        return 0;
}

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

It's fixed with the latest commit.

Reply via email to