bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Bison 3.0.4] testsuite: 430 431 432 failed


From: Akim Demaille
Subject: Re: [GNU Bison 3.0.4] testsuite: 430 431 432 failed
Date: Thu, 10 May 2018 12:12:41 +0200


> Le 27 avr. 2018 à 23:55, Raffaele Izzo <address@hidden> a écrit :
> 
> 
> <testsuite.log>

According to your logs, you get:

430. c++.at:374: testing Variants lalr1.cc parse.assert api.token.constructor 
...
./c++.at:374: bison -fno-caret -o list.cc list.y
./c++.at:374: $BISON_CXX_WORKS
stderr:
stdout:
./c++.at:374: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o list list.cc $LIBS
stderr:
In file included from list.y:2:0:
/mnt/lfs/sources/bison-3.0.4/lib/config.h:2220:5: warning: option 
'-Wmissing-prototypes' is valid for C/ObjC but not for C++ [-Wpragmas]
     _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
     ^
list.y: In member function 'void yy::parser::basic_symbol<Base>::clear()':
list.y:75:36: error: no match for 'operator<<' (operand types are 
'std::basic_ostream<char>' and 
'std::__cxx11::list<std::__cxx11::basic_string<char> >')
 %destructor { std::cerr << "Destroy: " << $$ << '\n'; } <*>;
           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~                   
             

Which seems to indicate that $$ is a std::list<std::string>.
But I don’t understand how this would be possible, there is
only std::vector in there.

Could you please run

make TESTSUITEFLAGS='-d -v -x 430'

and send us the file tests/testsuite.dir/430/list.cc?

Thanks in advance!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]