Thread overview
LDC master is now at 2.066.1-rc2
Sep 22, 2014
Kai Nacke
Sep 22, 2014
kink
Sep 22, 2014
Trass3r
Sep 23, 2014
Dicebot
Sep 23, 2014
David Nadlinger
Oct 28, 2014
Anabia123
Nov 15, 2014
Anabia123
Nov 01, 2014
bioinfornatics
Dec 07, 2014
Temtaime
Dec 10, 2014
Kai Nacke
September 22, 2014
Hi all,

due to the hard work of Alexey we could switch LDC master to DMD frontend version 2.066.1-rc2. If you built from LDC from GitHub then give it a try!

Regards,
Kai
September 22, 2014
Thanks guys.

VS2013 x64, LLVM head, LDC head, attached LDC patch => single compilation error in druntime (both in debug and release):

C:/LDC/ldc/runtime/druntime/src/gc/gc.d(2569): error : function core.thread.thread_processGCMarks (scope IsMarked del
egate(void* addr) isMarked) is not callable using argument types (int delegate(void* addr) nothrow)

IsMarkedDg is defined in core.thread:
alias int delegate( void* addr ) nothrow IsMarkedDg;

--------------------

LDC patch to work around minor issues:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0552d1f..e00f299 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,7 +16,7 @@ include(CheckCXXCompilerFlag)
 #

 find_package(LLVM 3.1 REQUIRED
-    all-targets analysis asmparser asmprinter bitreader bitwriter codegen core debuginfo instcombine ipa ipo instrumentation linker lto mc mcdisassembler mcparser objcarcopts object option profiledata scalaropts selectiondag support tablegen target transformutils vectorize ${EXTRA_LLVM_MODULES})
+    all-targets analysis asmparser asmprinter bitreader bitwriter codegen core debuginfo instcombine ipa ipo instrumentation linker lto mc mcdisassembler mcparser objcarcopts object option profiledata scalaropts selectiondag support tablegen target transformutils vectorize ${EXTRA_LLVM_MODULES} x86utils)
 math(EXPR LDC_LLVM_VER ${LLVM_VERSION_MAJOR}*100+${LLVM_VERSION_MINOR})

 #
diff --git a/gen/toir.cpp b/gen/toir.cpp
index 3889086..ca2c387 100644
--- a/gen/toir.cpp
+++ b/gen/toir.cpp
@@ -3052,9 +3052,6 @@ DValue *toElemDtor(Expression *e)
     public:
         std::vector<Expression*> edtors;

-        // Import all functions from class StoppableVisitor
-        using StoppableVisitor::visit;
-
         virtual void visit(Expression *e)
         {
         }
diff --git a/vcbuild/strtold.c b/vcbuild/strtold.c
index bbe0188..138a212 100644
--- a/vcbuild/strtold.c
+++ b/vcbuild/strtold.c
@@ -136,7 +136,11 @@ static longdouble postab[] =
  * Terminates on first unrecognized character.
  */

+#if _MSC_VER
+longdouble strtold_dm(const char *p, char **endp)
+#else
 longdouble strtold(const char *p,char **endp)
+#endif
 {
         longdouble ldval;
         int exp;
September 22, 2014
> diff --git a/gen/toir.cpp b/gen/toir.cpp
> index 3889086..ca2c387 100644
> --- a/gen/toir.cpp
> +++ b/gen/toir.cpp
> @@ -3052,9 +3052,6 @@ DValue *toElemDtor(Expression *e)
>      public:
>          std::vector<Expression*> edtors;
>
> -        // Import all functions from class StoppableVisitor
> -        using StoppableVisitor::visit;
> -
>          virtual void visit(Expression *e)
>          {
>          }

The proper way to fix this is to pull the class out of the function instead.
Already created a bug report for MSVC.
September 23, 2014
On Monday, 22 September 2014 at 06:35:17 UTC, Kai Nacke wrote:
> Hi all,
>
> due to the hard work of Alexey we could switch LDC master to DMD frontend version 2.066.1-rc2. If you built from LDC from GitHub then give it a try!
>
> Regards,
> Kai

Have updated https://aur.archlinux.org/pkgbase/ldc-alpha to build from repo master to simplify testing for Arch users (works for me so far btw)
September 23, 2014
On 23 Sep 2014, at 20:29, Dicebot via digitalmars-d-ldc wrote:
> Have updated https://aur.archlinux.org/pkgbase/ldc-alpha to build from repo master to simplify testing for Arch users (works for me so far btw)

Nice, thanks!

David
October 28, 2014
On Thursday, 2 October 2014 at 19:01:52 UTC, Nordlöw wrote:
> Should I try removing some LLVM version?

I removed all but version 3.4 of LLVM and now it compiles all the
till the end. Yay!

________________
ali
November 01, 2014
On Monday, 22 September 2014 at 06:35:17 UTC, Kai Nacke wrote:
> Hi all,
>
> due to the hard work of Alexey we could switch LDC master to DMD frontend version 2.066.1-rc2. If you built from LDC from GitHub then give it a try!
>
> Regards,
> Kai

Work perfectlty i am sending update to fedora, the version 0.14
was not push due to some regression, gtkd and dustmite
November 15, 2014
On Tuesday, 28 October 2014 at 08:45:28 UTC, Anabia123 wrote:
> On Thursday, 2 October 2014 at 19:01:52 UTC, Nordlöw wrote:
>> Should I try removing some LLVM version?
>
> I removed all but version 3.4 of LLVM and now it compiles all the
> till the end. Yay!
>
> ________________
Our excellent online [url=http://www.braindumps.com/RHCE.htm]rhce
certification[/url] You can get our 100%
[url=http://www.comptia.org/]COMPTIA[/url] certification practice
test
[url=http://en.wikipedia.org/wiki/Alabama_State_University]Alabama
State University[/url] contains all those materials you want to
[url=http://www.columbia.edu/]Columbia University[/url] paced
test engine to help you pass
[url=http://www.northwestern.edu/]Northwestern University[/url]
December 07, 2014
Hi Kai !
Is it possible that soon LDC will be based on DMD's head ?
For example i'm using DMD's head now because of bugs in the frontend, my code fails with 2.066.

Regards and thanks.
December 10, 2014
On Sunday, 7 December 2014 at 10:41:53 UTC, Temtaime wrote:
> Hi Kai !
> Is it possible that soon LDC will be based on DMD's head ?
> For example i'm using DMD's head now because of bugs in the frontend, my code fails with 2.066.
>
> Regards and thanks.

Hi Temtaine,

I started to merge 2.067 (branch merge-2.067) some time ago but it is yet not usable. I need to push out the release before I can continue working on the merge.

I really like to follow dmd development more closely - in most cases it is simply a matter of missing time....

Regards,
Kai