On Wednesday, 8 April 2015 at 11:17:12 UTC, Mike wrote:
I did something along these lines (modified to match your example) and it worked fine for me:

alias VectorFunc = void function();

@attribute("weak") @attribute("alias", "defaultHandler")
extern void Reset_Handler();

Strange; I can't get it to build without extern(C).
Also, if I remove extern(C) from for instance HardFault_Handler, then a HardFault_Handler written in C is not found by the linker.

Reply via email to