Re: How to build dmd properly?

2018-12-18 Thread unDEFER via Digitalmars-d-learn

On Tuesday, 18 December 2018 at 16:19:33 UTC, unDEFER wrote:
Yes, thank you for the hint. You are almost right. I did not 
ENABLE_DEBUG=1, but I also did not ENABLE_RELEASE=1


So it is the bug. I will report about it.


https://issues.dlang.org/show_bug.cgi?id=19500


Re: How to build dmd properly?

2018-12-18 Thread unDEFER via Digitalmars-d-learn

On Tuesday, 18 December 2018 at 15:54:28 UTC, Seb wrote:

On Tuesday, 18 December 2018 at 14:35:46 UTC, unDEFER wrote:

What I could build wrong and how to build dmd properly?


Maybe you built dmd.d with debug assertions? (ENABLE_DEBUG=1)

You can build dmd with the `./build.d` script or `make -f 
posix.mak -j4` (assuming you are in `src).


Anyway, the internal assertions should never fail, so this 
definitely deserves a bug report if that was the case.


Yes, thank you for the hint. You are almost right. I did not 
ENABLE_DEBUG=1, but I also did not ENABLE_RELEASE=1


So it is the bug. I will report about it.


Re: How to build dmd properly?

2018-12-18 Thread Seb via Digitalmars-d-learn

On Tuesday, 18 December 2018 at 14:35:46 UTC, unDEFER wrote:

What I could build wrong and how to build dmd properly?


Maybe you built dmd.d with debug assertions? (ENABLE_DEBUG=1)

You can build dmd with the `./build.d` script or `make -f 
posix.mak -j4` (assuming you are in `src).


Anyway, the internal assertions should never fail, so this 
definitely deserves a bug report if that was the case.





How to build dmd properly?

2018-12-18 Thread unDEFER via Digitalmars-d-learn
s.Tup!(int, 
double)` error instantiating


What I could build wrong and how to build dmd properly?