Merge pull request #10896 from hugueskamba/specify-arm-compiler-version-affected-by-uarm-fix

microlib support: Specify compiler version unable to build without the fix
pull/10868/head
Martin Kojtal 2019-06-26 08:47:27 +01:00 committed by GitHub
commit 5350948514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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
// When building with MicroLib, the compiler inadvertently introduces the
// _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>
typedef int ScanfReadRec;
MBED_WEAK long int _scanf_mbtowc(