Commit Graph

2275 Commits

Author SHA1 Message Date
David Nadlinger
53018c76f8 And climits.
Sorry for the noise.
2012-06-10 22:52:11 +02:00
David Nadlinger
6ddf84b61e Explicitly include cstdarg in LDMD.
Hopefully compiles everywhere now.
2012-06-10 22:20:13 +02:00
David Nadlinger
9489508046 Write LDMD executable to bin/. 2012-06-10 22:19:54 +02:00
alexrp
22302f5f45 Correctly define D_PIC version identifier when relocation model is PIC. 2012-06-10 21:29:28 +02:00
David Nadlinger
98261321d8 Merge pull request #117 from alexrp/master
Return 0 immediately after printing -version/--version.
2012-06-10 09:56:03 -07:00
alexrp
00926c5654 Return 0 immediately after printing -version/--version. 2012-06-09 20:43:50 +02:00
David Nadlinger
fdee1fc725 Add back support for -C, for backwards compatibility. 2012-06-07 11:17:40 +02:00
David Nadlinger
f131647709 Pass through unknown switches to LDC. 2012-06-07 11:17:39 +02:00
David Nadlinger
b549edd60c Removed now obsolote bin/ directory. 2012-06-07 11:17:39 +02:00
David Nadlinger
6ced6dae77 Fix #45, fix #100: LDMD rewrite for more sophisticated emulation of DMD command line behavior.
It ain't pretty. I know.
2012-06-07 11:17:39 +02:00
David Nadlinger
62bfda0259 Fix #113 - promotion of small static array arguments to registers. 2012-06-06 22:55:59 +02:00
David Nadlinger
ba9fb721ed Removed trailing whitespace. 2012-06-06 20:41:46 +02:00
David Nadlinger
d5084d9051 Factored out x86 ABI code to separate file. 2012-06-06 20:39:38 +02:00
David Nadlinger
1c301aabcd Fix #105 - don't randomly overwrite di files with thread.di.
DI_CMD is the CMake equivalent of a global variable, so it needs to be set in any case.
2012-06-06 17:54:07 +02:00
kai
175810bdab Consolidate all MSVC related files for LDC/LDC2 in 1 folder. 2012-06-06 17:32:47 +02:00
kai
086e0d251b Latest changes to compile LDC with MSVC. 2012-06-06 17:29:21 +02:00
David Nadlinger
04ea9ceefc Merge pull request #112 from svenstaro/master
Fix typos: MUTILIB to MULTILIB
2012-06-06 07:19:02 -07:00
David Nadlinger
260faae6ec Remove inreg attribute from static arrays when enregistering them. 2012-06-06 15:44:54 +02:00
Sven-Hendrik Haase
f1079bfbf6 Fix typos 2012-06-06 14:54:39 +02:00
David Nadlinger
6ad085a1f8 Only allow __Dmain to remain undefined in druntime to avoid hidden build errors. 2012-06-05 10:57:52 +02:00
David Nadlinger
1ead8476e5 Merge remote-tracking branch 'dansanduleac/i104_2' 2012-06-05 10:54:18 +02:00
Dan Sanduleac
74a1961d1f on APPLE, allow undefined symbols (for __Dmain) when linking druntime & phobos 2012-06-05 09:41:54 +01:00
David Nadlinger
911e00c434 Bump druntime/Phobos version to 2.059. 2012-06-05 10:27:35 +02:00
David Nadlinger
51b601f900 Merge pull request #108 from dansanduleac/i49_2
Fix #49: Static arrays should be passed using byval
2012-06-04 23:01:06 -07:00
Dan Sanduleac
2748cdaa88 Fix #49: Static arrays that don't fit in a register should be passed using byval 2012-06-05 02:52:25 +01:00
David Nadlinger
d24592b3e7 Fix #77 - LDC1 fails to compile tango.io.vfs.ZipFolder.
I think the same rewrite for contract this should be valid in D1 - if I missed something crucial, feel free to revert.
2012-06-02 19:21:36 +02:00
David Nadlinger
509a5799ff Use hand-written .di files if present along the source – fixes issue #95. 2012-06-02 16:49:47 +02:00
David Nadlinger
96b7fb6336 Always cache libconfig++ flags; tell user if pkg-config could not be found.
Previously, it was not clear to the user if pkg-config detection failed, leading to surprises if libconfig++ actually was present on the system.

The LIBCONFIG* variables are now always cached so that they can conveniently be set from ccmake/cmake-gui.
2012-06-02 15:43:14 +02:00
David Nadlinger
5459135aa5 Updated druntime - fixes issue #101. 2012-06-02 14:06:38 +02:00
kai
30cc6e309a Add more files required for MSVC. 2012-06-01 17:49:28 +02:00
kai
875649aced Merge remote branch 'origin/master' 2012-05-26 19:52:27 +02:00
David Nadlinger
1f5bced327 Don't install libldc for static builds. 2012-05-25 19:41:53 +02:00
David Nadlinger
8dea63e8a8 Fix #98 - Build broken using CMake 2.8.8.
As per the CMake docs, LANGUAGE is only to be set for files that are actually compiled. In versions prior to 2.8.7, setting it globally worked fine nevertheless.
2012-05-25 19:07:57 +02:00
David Nadlinger
1805e534b2 Fix issue 97 - <<= broken for LDC 1.
This code path was introduced in the 1.074 merge.
2012-05-25 15:54:42 +02:00
Kai Nacke
ced3702a9f Merge pull request #93 from redstar/merge-1.074
Merge dmd-1.074 into ldc.
2012-05-23 09:13:30 -07:00
kai
b1b71be0be Merge remote branch 'origin/master' 2012-05-23 17:39:54 +02:00
kai
5cc2ca7620 Merge branch 'merge-1.074' 2012-05-23 17:39:38 +02:00
kai
48f8ffeb0b Further changes to compile using MSVC. 2012-05-23 17:36:26 +02:00
Alexey Prokhin
bb2ca5b4f5 Fixed #94 — Phobos Builds Fail.
Reapplied ldc specific patches onto floatToBuffer()
2012-04-27 11:10:12 +04:00
kai
15e7da92c4 Merge branch 'master' into merge-1.074 2012-04-25 10:52:25 +02:00
Alexey Prokhin
8c5cf40bb5 Fixed compilation of ldc1 2012-04-22 12:26:25 +04:00
Alexey Prokhin
f4d8021e5a Merge branch 'master' of github.com:ldc-developers/ldc 2012-04-22 12:17:01 +04:00
Alexey Prokhin
67df422667 Fixed a segfault when using opDollar for struct and class indexing operations 2012-04-22 12:11:02 +04:00
Alexey Prokhin
3fb21f986e Merged the last bits of dmdfe 2.059 2012-04-22 12:10:47 +04:00
Alexey Prokhin
eadd5fb645 Squashed 'dmd2/' changes from fc63fd3..82e6a91
82e6a91 Resolve rvalue reference on template function arguments
3708457 Implement rvalue reference for struct literal & construction
530a59f Revert "struct literals are lvalues again"
f199933 struct literals are lvalues again
5f181da better error message for Issue 7815 - Mixin template forward reference (?) regression
e5452d5 fix Issue 7888 - derivedMembers forward reference error with nested imports
b77ae4f merge with D1
5fed58d fix Issue 7886 - derivedMembers infinite recursion
0cf5ecd Merge pull request #872 from 9rnsr/fix7873
744f102 fix Issue 7695 - Regression(2.058): ICE(mtype.c) on associative array with keys of struct type with const members
80fc228 fix Issue 7873 - IFTI with inout does not properly match template parameter if called from inout function for pointers
4a5d365 fix CTFE bugs reported in beta
df22942 add kind()
d36a3b4 Merge pull request #871 from 9rnsr/fix7871
66d1302 fix Issue 7871 - RangeViolation with findSplitBefore
020ab91 fix Issue 7811 - "not a property" error instead of real error on UFCS array template property
c349458 fix Issue 7862 - Accepts-invalid template forward reference bug related to derivedMembers
00d8ec8 fix Issue 7861 - Segfault during __error propagation with self-referencing module
4c9652d fix fwd ref bug
477c357 fix Issue 7859 - Crash on invalid alias template parameter type
c35f67a fix Issue 7858 - __traits(getOverloads) returns incorrect symbol
bc840e8 fix Issue 7815 - Mixin template forward reference (?) regression
18a1485 fix auto test break
ceef368 fix Issue 7826 - [D2 Beta] Cannot use getHash in toHash without a warning
d747fd6 fix Issue 7820 - regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch
1094601 fix Issue 7823 - Can't use a struct initializer to initialize a nested enum used as a default function argument initializer

git-subtree-dir: dmd2
git-subtree-split: 82e6a91f234843be7f660b242f8b8819c1eae20c
2012-04-22 09:41:54 +04:00
Alexey Prokhin
07bf68afa3 DMD Issue 5590 - Regression(2.036) ICE(e2ir.c): when using .values on enum which is associative array 2012-04-21 22:37:36 +04:00
Alexey Prokhin
d739588d4a Fix dmd bug 7504: Cannot assign an object of type 'typeof(null)' to an array 2012-04-21 22:37:36 +04:00
Alexey Prokhin
8364ad4675 Fixed a crash when calling a function by an alias 2012-04-21 22:37:36 +04:00
Alexey Prokhin
21a926c936 Resolved small merge conflict.
FuncAliasDeclaration::mangle() was wrongly put into '#if IN_DMD' block.
2012-04-21 22:37:36 +04:00
Alexey Prokhin
7e23eb5047 Infer function literal kind (TOKdelegate or TOKfunction). 2012-04-21 22:37:36 +04:00