1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00
Ralph Boehme 9053391f86 s3:mdssvc: fix flex compilation error
[4440/4495] Compiling bin/default/source3/rpc_server/mdssvc/sparql_lexer.lex.c
../../source3/rpc_server/mdssvc/sparql_lexer.l:26: error: "yyalloc" redefined [-Werror]
26 | #define yyalloc SMB_MALLOC

Looks like the dirty redefine trick doesn't work anymore with newer flex
versions. According to the flex manual the right thing to do is to provide own
functions for yyalloc and yyrealloc when passing the options "noyyalloc
noyyrealloc".

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue May 28 11:49:06 UTC 2019 on sn-devel-184
2019-05-28 11:49:06 +00:00
..
2018-12-20 23:40:25 +01:00
2019-04-11 23:35:15 +00:00
2018-12-20 23:40:25 +01:00
2019-03-18 19:21:22 +00:00
2019-03-18 19:21:22 +00:00
2019-03-18 19:21:22 +00:00
2019-03-18 19:21:22 +00:00
2019-03-18 19:21:22 +00:00
2019-03-18 19:21:22 +00:00
2019-03-18 19:21:22 +00:00
2019-03-18 19:21:22 +00:00
2016-08-24 18:01:14 +02:00
2019-03-22 18:02:17 +00:00