Calypso progress report (+ updated MingW64 build)

Elie Morisse via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Oct 25 16:53:09 PDT 2015


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?

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.


More information about the Digitalmars-d-announce mailing list