From fc345af2e08bac220d8a3482a7f74bf88a65befd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 1 Mar 2018 14:24:46 +0100 Subject: add patch to fix build with gcc 8 from https://github.com/weltling/parle/pull/13 --- ...r-return-statement-with-a-value-in-functi.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 0001-fix-12-error-return-statement-with-a-value-in-functi.patch (limited to '0001-fix-12-error-return-statement-with-a-value-in-functi.patch') diff --git a/0001-fix-12-error-return-statement-with-a-value-in-functi.patch b/0001-fix-12-error-return-statement-with-a-value-in-functi.patch new file mode 100644 index 0000000..0838914 --- /dev/null +++ b/0001-fix-12-error-return-statement-with-a-value-in-functi.patch @@ -0,0 +1,25 @@ +From 96d67113f86be5ef8aea4eb072391146e3fd0aff Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Thu, 1 Mar 2018 14:12:38 +0100 +Subject: [PATCH] fix #12 - error: return-statement with a value, in function + returning 'void' + +--- + lib/lexertl14/lexertl/parser/tokeniser/re_tokeniser_state.hpp | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/lib/lexertl14/lexertl/parser/tokeniser/re_tokeniser_state.hpp b/lib/lexertl14/lexertl/parser/tokeniser/re_tokeniser_state.hpp +index 5033172..b3626cb 100644 +--- a/lib/lexertl14/lexertl/parser/tokeniser/re_tokeniser_state.hpp ++++ b/lib/lexertl14/lexertl/parser/tokeniser/re_tokeniser_state.hpp +@@ -76,7 +76,6 @@ struct basic_re_tokeniser_state + _paren_count = rhs_._paren_count; + _in_string = rhs_._in_string; + _nl_id = rhs_._nl_id; +- return this; + } + + inline bool next(char_type &ch_) +-- +2.14.3 + -- cgit