Cortex-M3 low level assert issue.

Jack Applegame japplegame at gmail.com
Sat May 4 14:05:00 UTC 2019


On Thursday, 2 May 2019 at 09:24:00 UTC, kinke wrote:
> If that's not an option, you can also hack your object.d and 
> try to remove TypeInfo, ModuleInfo etc. We also have 
> LDC-specific pragmas wrt. this.
```
module test;
pragma(LDC_no_moduleinfo);

pragma(LDC_no_typeinfo)
struct Foo {
     pragma(LDC_no_typeinfo)
     struct Bar {
         pragma(LDC_no_typeinfo)
         struct Baz {
         }
     }
}

void foo() {
     assert(0);
}
```
Nothing changes.


More information about the digitalmars-d-ldc mailing list