weltling / parle

Parser and lexer for PHP
Other
87 stars 10 forks source link

Build with GCC 8 is broken #12

Closed remicollet closed 6 years ago

remicollet commented 6 years ago
In file included from /builddir/build/BUILD/php70-php-pecl-parle-0.7.3/NTS/lib/lexertl14/lexertl/parser/tokeniser/re_tokeniser_helper.hpp:12,
                 from /builddir/build/BUILD/php70-php-pecl-parle-0.7.3/NTS/lib/lexertl14/lexertl/parser/tokeniser/re_tokeniser.hpp:14,
                 from /builddir/build/BUILD/php70-php-pecl-parle-0.7.3/NTS/lib/lexertl14/lexertl/parser/parser.hpp:15,
                 from /builddir/build/BUILD/php70-php-pecl-parle-0.7.3/NTS/lib/lexertl14/lexertl/generator.hpp:15,
                 from /builddir/build/BUILD/php70-php-pecl-parle-0.7.3/NTS/parle.cpp:39:
/builddir/build/BUILD/php70-php-pecl-parle-0.7.3/NTS/lib/lexertl14/lexertl/parser/tokeniser/re_tokeniser_state.hpp: In member function 'void lexertl::detail::basic_re_tokeniser_state<ch_type, id_type>::assign(const lexertl::detail::basic_re_tokeniser_state<ch_type, id_type>&)':
/builddir/build/BUILD/php70-php-pecl-parle-0.7.3/NTS/lib/lexertl14/lexertl/parser/tokeniser/re_tokeniser_state.hpp:79:16: error: return-statement with a value, in function returning 'void' [-fpermissive]
         return this;
                ^~~~
weltling commented 6 years ago

Fixed by the upstream sync.

Thanks!