Commit Graph
2212 Commits
Author SHA1 Message Date
Eldar Insafutdinov 36d4a57297 Default to building ldc as a static library. Added BUILD_SHARED flag to enable dynamic libraries 2012-04-07 14:12:10 +01:00
Eldar Insafutdinov a8398d64e8 Moved configfile to the driver 2012-04-03 21:18:16 +01:00
Eldar Insafutdinov 30b20794c7 Fix D1 frontend 2012-04-02 16:43:46 +01:00
Eldar Insafutdinov feefad412c Move cl_options out of LDCShared 2012-04-02 14:53:52 +01:00
Eldar Insafutdinov 71044056e4 split toobj.cpp and moved writeModule outside of LDCShared 2012-04-02 00:11:30 +01:00
Eldar Insafutdinov 0b411b873c Separated compiler from the driver into the shared library 2012-04-01 22:06:08 +01:00
David Nadlinger 0c8f91ba32 Removed unused ldc.conf.in.
It would only be used during in-tree building of Tango, ldc_install.conf.in is what ends up being used during make install instead.
2012-03-28 14:01:34 +02:00
David Nadlinger d108412a2a Finally fix Tango import paths.
We don't install Tango in our build system, so the user could always choose a different layout, but this matches the default.
2012-03-28 13:59:05 +02:00
kai e5f2430855 Remove unused member VarDeclaration::anonDecl. 2012-03-28 06:57:17 +02:00
kai e739102374 Removed unused member VarDeclaration::offset2. 2012-03-27 07:13:55 +02:00
kai 0a9ba4d283 Move additional #include inside IN_LLVM section. 2012-03-25 15:19:25 +02:00
kai 2433b74460 Add some upcoming changes from 2.059/1.074 which helps compiling with MSC. 2012-03-22 21:01:43 +01:00
kai 4616b068c8 Add MSC specific code. 2012-03-22 21:01:07 +01:00
David Nadlinger df61269ada Fixed LDC 1 config file installation.
Closes #79.

Thanks to SiegeLord for the meat of the patch.
2012-03-17 13:32:00 +01:00
David Nadlinger c3621e171c CMake: Mark USE_BOEHM_GC and other unsupported flags as advanced. 2012-03-17 12:28:49 +01:00
David Nadlinger f5431cc762 Updated druntime. 2012-03-17 00:57:28 +01:00
David Nadlinger 26e4f91cdc Respect struct packing when generating struct initializers.
Fixes issue #88.

Previously, invalid code would be generated in cases like the following:
---
align(1) struct Test {
    string str;
    int id;
}

Test test = {"asdf", 4};
---
2012-03-16 23:29:10 +01:00
kai dee054fae0 Small code cleanup.
- Wraps some LDC specific code in 'IN_LLVM' section
- Adds some MSVC specific code to 'IN_LLVM' section
- Removes an unused include file

Net result is much less errors with MSVC.
2012-03-15 07:11:54 +01:00
David Nadlinger 947790248f Whoops.
Fixes issue 78.
2012-03-14 18:50:33 +01:00
David Nadlinger c0abef4831 Fix druntime/Phobos module installation on OS X.
Note: Currently, we are not following a consequent strategy regarding which files to install and which to omit. In the future, we should either always install all of the modules (because they should have version() guards anyway), or omit all the files with paths containing {osx,windows,linux,freebsd} on the other OSes.
2012-03-14 18:11:20 +01:00
David Nadlinger 1a17b17a11 Fix TypeNull::toDecoBuffer prototype mismatch.
This shouldn't have caused any harm, as it currently only forwards to Type::toDecoBuffer anyway.
2012-03-13 10:49:28 +01:00
Kai Nacke 43667e1807 Merge pull request #82 from redstar/merge-1.073-a
Merge dmd-1.073.
2012-03-07 22:01:02 -08:00
Alexey Prokhin 63a89bae0e CMake: DMD frontend version should not be stored to cache 2012-03-06 12:20:18 +04:00
Alexey Prokhin c4414a2f3f CMake: fixed path to phobos 2012-03-06 12:10:02 +04:00
Alexey Prokhin 598942bd78 Fixed #28 — 64-bit unions are not the same size as C language unions in some situations 2012-03-06 11:29:30 +04:00
Alexey Prokhin f6111f23f2 Fixed #85 — ICE with a non-POD local struct literal in a class method 2012-03-06 10:47:24 +04:00
kai d6396bbddf Fix error with va_arg in 64 bit mode. 2012-03-06 07:29:43 +01:00
Alexey Prokhin 120bf4429c Partially reverted fix for #66.
ldc still supports -soname switch but does not set soname by default as
suggested in issue #66.
2012-03-06 10:29:37 +04:00
Alexey Prokhin d69d2a835c Fixed #83 — ldc claim a main block when trying to build as shared lib 2012-03-06 10:29:31 +04:00
kai 8a20415cd1 Fix white space. 2012-03-06 07:28:29 +01:00
kai 86cd51962c Merge branch 'master' into merge-1.073-a 2012-03-06 07:06:10 +01:00
kai a23b837ebd Merge dmd-1.073. 2012-02-23 20:41:22 +01:00
kai 53f9964b95 Fix LDC1 compile error. 2012-02-18 18:08:26 +01:00
Alexey Prokhin f1c7f6db65 Bump version 2012-02-16 15:45:04 +04:00
AlexeyProkhin 9264fcdf4f Merge pull request #80 from bioinfornatics/master
Add versionned lib
2012-02-16 03:36:01 -08:00
Alexey Prokhin ae7f0ca7e7 Preliminary vector support 2012-02-16 14:42:23 +04:00
Jonathan MERCIER 0cebc6d5bc use D_VERSION instead of DMDFE_MAJOR_VERSION 2012-02-15 13:59:50 +01:00
Alexey Prokhin 5af48edec3 Merged the final dmd 2.058 2012-02-15 13:23:23 +04:00
Alexey Prokhin 8282153738 Removed special treatment of -property switch 2012-02-15 13:23:23 +04:00
Alexey Prokhin 6687a6624b Fixed #66 — -shared do not set a SONAME 2012-02-15 13:23:23 +04:00
Alexey Prokhin fb5618e336 Fixed #65 — Renaming shared lib 2012-02-15 13:23:23 +04:00
Alexey Prokhin 8df15e7b64 Fixed #75 — "unhandled repainting of return value" with static array of consts 2012-02-15 13:23:23 +04:00
Alexey Prokhin bb0d51fb98 Don't resolve template instances that were instantiated inside static if or statis assert 2012-02-15 13:23:23 +04:00
Alexey Prokhin 1f4cd033ca Fixed Type::implicitConvTo() 2012-02-15 13:23:23 +04:00
Alexey Prokhin adebe4c732 DMD Issue 4269 - Regression(2.031): invalid type accepted if evaluated while errors are gagged 2012-02-15 13:23:23 +04:00
Alexey Prokhin cd516373b0 Fixed interpreting of address expressions to ref foreach parameters 2012-02-15 13:23:23 +04:00
Alexey Prokhin 52c5c03495 Fixed segfault when compiling a non-constant case expression 2012-02-15 13:23:23 +04:00
Alexey Prokhin 9ace3fae3e DMD Issue 796 - Asserting a null object reference throws AssertError Failure internal\invariant.d(14) or Access Violation 2012-02-15 13:23:23 +04:00
Alexey Prokhin 2f56b2253d DMD Issue 7196 - Unfair function address overload resolution 2012-02-15 13:23:23 +04:00
Alexey Prokhin fa361ed598 DMD Issue 4523 - [tdpl] .remove method for Associative Arrays returns void in all cases 2012-02-15 13:23:23 +04:00