mirror of https://gitlab.com/basile.b/dexed.git
fix (temp), custom struct/class allocators problem when inline is set
This commit is contained in:
parent
45b11a9798
commit
0a74b7e3b4
|
@ -52,6 +52,7 @@ void main(string[] args)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
write(slb.serialize);
|
write(slb.serialize);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
slb.destruct;
|
slb.destruct;
|
||||||
|
@ -77,6 +78,9 @@ string patchPasStringLitteral(const ref string p)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Memory utils ---------------------------------------------------------------+
|
// Memory utils ---------------------------------------------------------------+
|
||||||
|
// TODO-cbugfix: inline + optimizations + custom constructor = empty symbol list !
|
||||||
|
// inline + optimization + use 'new' = ok
|
||||||
|
|
||||||
void * getMem(size_t size) nothrow
|
void * getMem(size_t size) nothrow
|
||||||
{
|
{
|
||||||
import std.c.stdlib;
|
import std.c.stdlib;
|
||||||
|
|
|
@ -1,18 +1,11 @@
|
||||||
object CurrentProject: TCEProject
|
object CurrentProject: TCENativeProject
|
||||||
OptionsCollection = <
|
OptionsCollection = <
|
||||||
item
|
item
|
||||||
name = 'release'
|
name = 'release'
|
||||||
outputOptions.inlining = True
|
|
||||||
outputOptions.boundsCheck = offAlways
|
outputOptions.boundsCheck = offAlways
|
||||||
outputOptions.optimizations = True
|
outputOptions.optimizations = True
|
||||||
outputOptions.release = True
|
outputOptions.release = True
|
||||||
pathsOptions.outputFilename = '..\lazproj\cesyms'
|
pathsOptions.outputFilename = '../lazproj/cesyms'
|
||||||
preBuildProcess.options = []
|
|
||||||
preBuildProcess.showWindow = swoNone
|
|
||||||
postBuildProcess.options = []
|
|
||||||
postBuildProcess.showWindow = swoNone
|
|
||||||
runOptions.options = []
|
|
||||||
runOptions.showWindow = swoNone
|
|
||||||
end>
|
end>
|
||||||
Sources.Strings = (
|
Sources.Strings = (
|
||||||
'cesyms.d'
|
'cesyms.d'
|
||||||
|
|
|
@ -4,7 +4,6 @@ object CurrentProject: TCEProject
|
||||||
name = 'release'
|
name = 'release'
|
||||||
outputOptions.inlining = True
|
outputOptions.inlining = True
|
||||||
outputOptions.boundsCheck = offAlways
|
outputOptions.boundsCheck = offAlways
|
||||||
outputOptions.optimizations = True
|
|
||||||
outputOptions.release = True
|
outputOptions.release = True
|
||||||
pathsOptions.outputFilename = '..\lazproj\cesyms'
|
pathsOptions.outputFilename = '..\lazproj\cesyms'
|
||||||
pathsOptions.extraSources.Strings = (
|
pathsOptions.extraSources.Strings = (
|
||||||
|
|
Loading…
Reference in New Issue