duplicate YYSTYPE_IS_TRIVIAL =>1st *_DECLARED
PATCH 1/1 duplicate YYSTYPE_IS_TRIVIAL =>1st *_DECLARED
Untested patch, please confirm it's the right fix.
--
duplicate YYSTYPE_IS_TRIVIAL, 2nd should be YYSTYPE_IS_DECLARED
Signed-off-by Roel Kluin <[email protected]>
---
scripts/genksyms/parse.c_shipped +1 -1
@@ -377,7 +377,7 @@ void free (void *); /* INFRINGES ON USER NAME SPACE */ #if (! defined yyoverflow \ && (! defined __cplusplus \ - || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + || (defined YYSTYPE_IS_DECLARED && YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc
scripts/kconfig/zconf.tab.c_shipped +1 -1
@@ -389,7 +389,7 @@ void free (void *); /* INFRINGES ON USER NAME SPACE */ #if (! defined yyoverflow \ && (! defined __cplusplus \ - || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + || (defined YYSTYPE_IS_DECLARED && YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc
Quoted 1 line · Roel Kluin
Untested patch, please confirm it's the right fix.
First off - I do not see what problem you are trying to fix. Second - this is generated files that we never manually edit. If the generated files are wrong the tools to generate the files should be fixed.
Sam