YyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout ): usr/ports/cad/cascade-compiler/work/.build/verilog_:2536:27: note: type of 1st parameter of member declaration does not match definition ('std::istream *' (aka 'basic_istream *') vs 'std::istream &' (aka 'basic_istream &')) usr/ports/cad/cascade-compiler/work/.build/verilog_:30:25: note: expanded from macro 'yyFlexLexer' YyFlexLexer::yyFlexLexer( std::istream& arg_yyin, std::ostream& arg_yyout ): usr/ports/cad/cascade-compiler/work/.build/verilog_:2545:14: error: out-of-line definition of 'yyFlexLexer' does not match any declaration in 'yyFlexLexer' usr/ports/cad/cascade-compiler/work/.build/verilog_:2540:2: error: use of undeclared identifier 'ctor_common' Yyout(arg_yyout ? arg_yyout->rdbuf() : std::cout.rdbuf()) usr/ports/cad/cascade-compiler/work/.build/verilog_:2538:2: error: cannot initialize a member subobject of type 'std::ostream *' (aka 'basic_ostream *') with an rvalue of type 'basic_streambuf >::char_type, std::_1::basic_ios >::traits_type> *' (aka 'basic_streambuf > *') Yyin(arg_yyin ? arg_yyin->rdbuf() : std::cin.rdbuf()), usr/ports/cad/cascade-compiler/work/.build/verilog_:2537:2: error: cannot initialize a member subobject of type 'std::istream *' (aka 'basic_istream *') with an rvalue of type 'basic_streambuf >::char_type, std::_1::basic_ios >::traits_type> *' (aka 'basic_streambuf > *') YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin.rdbuf() usr/ports/cad/cascade-compiler/work/.build/verilog_:2418:50: error: member reference type 'std::istream *' (aka 'basic_istream *') is a pointer did you mean to use '->'? usr/ports/cad/cascade-compiler/work/.build/verilog_:1165:9: error: member reference type 'std::ostream *' (aka 'basic_ostream *') is a pointer did you mean to use '->'? usr/ports/cad/cascade-compiler/work/.build/verilog_:1158:8: error: member reference type 'std::istream *' (aka 'basic_istream *') is a pointer did you mean to use '->'?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |