diff --git a/tools/mksymtab.sh b/tools/mksymtab.sh index 9275945eb..cfdd6ff95 100755 --- a/tools/mksymtab.sh +++ b/tools/mksymtab.sh @@ -57,6 +57,11 @@ echo "#include " echo "#include " echo "" +echo "#if defined(__GNUC__) && !defined(__clang__)" +echo "# pragma GCC diagnostic ignored \"-Wbuiltin-declaration-mismatch\"" +echo "#endif" +echo "" + for string in $varlist; do var=`echo $string | sed -e "s/\"//g"` echo "extern void *${var};"