X-Git-Url: http://ecere.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=compiler%2Fbootstrap%2Fecc%2Fbootstrap%2Fecc.c;h=32c32a9aff4115eae895a5046dfd6bb4a80f0032;hb=fd65adc2adcc12249dd43ebf3f3fdde614510af1;hp=6cba15a34d90195b0083c7837705f19f7da95030;hpb=ebee736194488e3aca1f2f58c9d8c290d676a3f2;p=sdk diff --git a/compiler/bootstrap/ecc/bootstrap/ecc.c b/compiler/bootstrap/ecc/bootstrap/ecc.c index 6cba15a..32c32a9 100644 --- a/compiler/bootstrap/ecc/bootstrap/ecc.c +++ b/compiler/bootstrap/ecc/bootstrap/ecc.c @@ -791,7 +791,11 @@ globalContext = __ecereNameSpace__ecere__com__eInstance_New(__ecereClass_Context void __ecereDestroyModuleInstances_ecc() { -((globalContext ? (__ecereClass_Context->Destructor ? __ecereClass_Context->Destructor((void *)globalContext) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(globalContext)) : 0), globalContext = 0); +((globalContext ? __extension__ ({ +void * __ecerePtrToDelete = (globalContext); + +__ecereClass_Context->Destructor ? __ecereClass_Context->Destructor((void *)__ecerePtrToDelete) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(__ecerePtrToDelete); +}) : 0), globalContext = 0); } struct Symbol;