Mercurial > projects > ldc
annotate lphobos/ldc.conf @ 1168:ab186e535e72
A different fix to #218 and DMD2682 that does not lead to constant folding regressions.
Fixes run/const_15, run/c/const_16_B.
The price is removing the lvalueness of struct literals. If it turns out too
much code depends on this behavior or we don't want to break with DMD, we
could keep struct literals as lvalues and instead convert struct literals used
as expression initializers into struct initializers.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 29 Mar 2009 11:43:45 +0200 |
parents | d8a1481eaa0c |
children |
rev | line source |
---|---|
476
526385b6d1fd
Added missing llvmdc-build script in lphobos, added llvmdc.conf to lphobos.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
1 |
526385b6d1fd
Added missing llvmdc-build script in lphobos, added llvmdc.conf to lphobos.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
2 [Environment] |
526385b6d1fd
Added missing llvmdc-build script in lphobos, added llvmdc.conf to lphobos.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
3 |
662
88e23f8c2354
Applied downs' latest Phobos patch
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
476
diff
changeset
|
4 DFLAGS=-I%@P%/../lphobos -I%@P%/../import -L-L%@P%/../lib |
88e23f8c2354
Applied downs' latest Phobos patch
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
476
diff
changeset
|
5 # -R%@P%/../lib |