From 072c28fe8ec7bc2db66f4cdb7bf8bae680777b83 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 12 May 2022 14:14:54 +0900 Subject: [PATCH] Revert "tools/mkallsyms.sh: Disable the mismatch warning of builtin declaration" This reverts commit 848d1ef0b736ec4e83cbd4aa1fa1aa00da3ffe8f. It doesn't make sense because the generated file just have names of symbols as strings. Nothing to worry about builtins. --- tools/mkallsyms.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/mkallsyms.sh b/tools/mkallsyms.sh index 37c1cbac8d..3e673decf6 100755 --- a/tools/mkallsyms.sh +++ b/tools/mkallsyms.sh @@ -50,10 +50,6 @@ fi echo "#include " echo "#include " 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 "{"