LDC 0.11.0 Beta 3

bearophile bearophileHUGS at lycos.com
Tue Jul 2 16:33:11 PDT 2013


Kai Nacke:

> I could not reproduce both failures with LDC head. Maybe it is 
> a 2.062 related problem?

I have just taken and installed the latest version, ldc2 on 
Windows 32 bit (Vista) (LDC - the LLVM D compiler (0.11.0) based 
on DMD v2.062 and LLVM 3.3svn)):
http://d32gngvpvl2pi1.cloudfront.net/ldc2-0.11.0-mingw-x86.7z

I compile with just:
ldc2 temp.d

And both those programs give the errors :-(

test.d(5): Error: cannot implicitly convert expression 
(cast(__vector(double[2u]))[1, 2] + x) of type double[] to 
__vector(double[2u])

test.d(6): Error: incompatible types for ((sum) += 
(cast(__vector(double[2u]))[x, y] / a)): '__vector(double[2u])' 
and 'double[]'

I am using the MinGW in the link given by David Nadlinger (gcc 
version 4.8.0 (rubenvb-4.8.0)):

http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-dw2-release/i686-w64-mingw32-gcc-dw2-4.8.0-win32_rubenvb.7z/download

Maybe it's a 2.062 problem, I don't know. But while compiling dmd 
is a breeze, I don't think I want to compile ldc2 myself. If you 
think this problem is missing in the ldc2 2.063 then let's ignore 
this problem until the ldc2 2.063 binary has being released and I 
can test it again :-)

Bye,
bearophile


More information about the digitalmars-d-ldc mailing list