mirror of https://github.com/ARMmbed/mbed-os.git
microlib support: Specify compiler version unable to build without the fix
parent
e9e9bf3f8d
commit
4f38abf8dd
|
@ -72,7 +72,8 @@ MBED_WEAK void __aeabi_assert(const char *expr, const char *file, int line)
|
||||||
// The below resolves the linker error generated by a bug in Arm Compiler 6
|
// The below resolves the linker error generated by a bug in Arm Compiler 6
|
||||||
// When building with MicroLib, the compiler inadvertently introduces the
|
// When building with MicroLib, the compiler inadvertently introduces the
|
||||||
// _scanf_mbtowc symbol to the build. The code below provides a weak reference
|
// _scanf_mbtowc symbol to the build. The code below provides a weak reference
|
||||||
// for the missing symbol
|
// for the missing symbol.
|
||||||
|
// Arm Compiler 6 version 6.12 and earlier versions are affected.
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
typedef int ScanfReadRec;
|
typedef int ScanfReadRec;
|
||||||
MBED_WEAK long int _scanf_mbtowc(
|
MBED_WEAK long int _scanf_mbtowc(
|
||||||
|
|
Loading…
Reference in New Issue