tools/mkallsyms.sh: Disable the mismatch warning of builtin declaration
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
5da5ffb7d4
commit
848d1ef0b7
@ -44,6 +44,10 @@ fi
|
||||
echo "#include <nuttx/compiler.h>"
|
||||
echo "#include <nuttx/symtab.h>"
|
||||
echo ""
|
||||
echo "#if defined(__GNUC__) && !defined(__clang__)"
|
||||
echo "# pragma GCC diagnostic ignored \"-Wbuiltin-declaration-mismatch\""
|
||||
echo "#endif"
|
||||
echo ""
|
||||
echo "const int g_nallsyms = ${count} + 2;"
|
||||
echo "const struct symtab_s g_allsyms[${count} + 2] = "
|
||||
echo "{"
|
||||
|
Loading…
x
Reference in New Issue
Block a user