Andreas Tille <andr...@an3as.eu> writes: > Any idea how to fix [...] > [1] https://salsa.debian.org/med-team/librostlab-blast/-/jobs/2383360
Please try the attached patch, which eliminates the need to force an old C++ standard version (which this package can't expect callers to use) in debian/rules. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu
--- a/lib/rostlab/blast-parser-driver.h +++ b/lib/rostlab/blast-parser-driver.h @@ -37,7 +37,7 @@ YY_DECL; #define YY_DECL_FRIEND \ rostlab::blast::parser::token_type \ - ::yylex( rostlab::blast::parser::semantic_type* __yylval, \ + (::yylex)( rostlab::blast::parser::semantic_type* __yylval, \ rostlab::blast::parser::location_type* __yylloc, \ rostlab::blast::parser_driver& __drv, \ void* yyscanner ) @@ -88,7 +88,7 @@ class parser_driver { /// Parse one result from the input stream. /** Each call returns a reference to the filled result structure. The structure may be empty in case there are no more results in the stream. */ const result_type& - parse( bool __trace_parsing = false, bool __trace_scanning = false ) throw (rostlab::blast::parser_error); + parse( bool __trace_parsing = false, bool __trace_scanning = false ); /// Get tracing of scanning. bool trace_scanning(); --- a/lib/blast-parser-driver.cpp +++ b/lib/blast-parser-driver.cpp @@ -19,7 +19,7 @@ #include "rostlab/blast-parser-driver.h" const rostlab::blast::parser_driver::result_type& - rostlab::blast::parser_driver::parse( bool __trace_parsing, bool __trace_scanning ) throw (rostlab::blast::parser_error) + rostlab::blast::parser_driver::parse( bool __trace_parsing, bool __trace_scanning ) { rostlab::blast::parser parser(*this, _scanner); parser.set_debug_level( __trace_parsing );