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
|
||||
{
|
||||
write(slb.serialize);
|
||||
|
||||
}
|
||||
|
||||
slb.destruct;
|
||||
|
@ -77,6 +78,9 @@ string patchPasStringLitteral(const ref string p)
|
|||
}
|
||||
|
||||
// Memory utils ---------------------------------------------------------------+
|
||||
// TODO-cbugfix: inline + optimizations + custom constructor = empty symbol list !
|
||||
// inline + optimization + use 'new' = ok
|
||||
|
||||
void * getMem(size_t size) nothrow
|
||||
{
|
||||
import std.c.stdlib;
|
||||
|
|
|
@ -1,18 +1,11 @@
|
|||
object CurrentProject: TCEProject
|
||||
object CurrentProject: TCENativeProject
|
||||
OptionsCollection = <
|
||||
item
|
||||
name = 'release'
|
||||
outputOptions.inlining = True
|
||||
outputOptions.boundsCheck = offAlways
|
||||
outputOptions.optimizations = True
|
||||
outputOptions.release = True
|
||||
pathsOptions.outputFilename = '..\lazproj\cesyms'
|
||||
preBuildProcess.options = []
|
||||
preBuildProcess.showWindow = swoNone
|
||||
postBuildProcess.options = []
|
||||
postBuildProcess.showWindow = swoNone
|
||||
runOptions.options = []
|
||||
runOptions.showWindow = swoNone
|
||||
pathsOptions.outputFilename = '../lazproj/cesyms'
|
||||
end>
|
||||
Sources.Strings = (
|
||||
'cesyms.d'
|
||||
|
|
|
@ -4,7 +4,6 @@ object CurrentProject: TCEProject
|
|||
name = 'release'
|
||||
outputOptions.inlining = True
|
||||
outputOptions.boundsCheck = offAlways
|
||||
outputOptions.optimizations = True
|
||||
outputOptions.release = True
|
||||
pathsOptions.outputFilename = '..\lazproj\cesyms'
|
||||
pathsOptions.extraSources.Strings = (
|
||||
|
|
Loading…
Reference in New Issue