mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 00:55:49 +03:00
Use _d_assocarrayliteralTX to initialize associative arrays. Replace depricated _d_arrayappendcT() by _d_arrayappendcTX(). Make sure that a l-value of a binassign expressions is only evaluated once (reapllied 1784 but only for D2)
This commit is contained in:
parent
600a3100c0
commit
6d89bfa961
7 changed files with 127 additions and 38 deletions
|
@ -295,6 +295,8 @@ int linkObjToExecutable(const char* argv0)
|
|||
// default libs
|
||||
switch(global.params.os) {
|
||||
case OSLinux:
|
||||
args.push_back("-lrt");
|
||||
// fallthrough
|
||||
case OSMacOSX:
|
||||
args.push_back("-ldl");
|
||||
// fallthrough
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue