Index: App/Common.h =================================================================== diff -u -r8ba82119080b77f804fa2b3edadd11422f57371b -r3470940824d26e0c43cb59ffdacfa4d9854096ae --- App/Common.h (.../Common.h) (revision 8ba82119080b77f804fa2b3edadd11422f57371b) +++ App/Common.h (.../Common.h) (revision 3470940824d26e0c43cb59ffdacfa4d9854096ae) @@ -72,10 +72,12 @@ #define _enable_IRQ() #define _disable_IRQ() #define _enable_FIQ() -#pragma WEAK(can1LowLevelInterrupt) - void can1LowLevelInterrupt(void) {} -#pragma WEAK(can1HighLevelInterrupt) - void can1HighLevelInterrupt(void) {} + #ifndef _MINGW_ + #pragma WEAK(can1LowLevelInterrupt) + void can1LowLevelInterrupt(void) {} + #pragma WEAK(can1HighLevelInterrupt) + void can1HighLevelInterrupt(void) {} + #endif #endif