You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wsdd/patch/soapcpp2_lex.l.patch

18 lines
696 B
Diff

On ubuntu 22.04 there is a new Flex/Bison that does not correctly generate files for gsoap.
which, when compiled, produces an error: "multiple definition of `yylval'; soapcpp2-soapcpp2_yacc.o"
This bug has been fixed in gsoap version 2.8.99.
We will update the version of gsoap in the next release, and this patch will be removed!
For more details see: https://sourceforge.net/p/gsoap2/bugs/1269/
--- gsoap/src/soapcpp2_lex.l 2018-04-08 18:22:45.000000000 +0400
+++ gsoap/src/soapcpp2_lex.l2 2023-08-23 11:26:24.841881181 +0400
@@ -48,7 +48,7 @@
#endif
#ifdef WITH_BISON
-YYSTYPE yylval;
+extern YYSTYPE yylval;
#undef YY_NEED_STRLEN
#define YY_INPUT(buf, result, max_size) \
{ \