Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error lex.yy.cc #5

Open
fmrico opened this issue Dec 16, 2017 · 5 comments
Open

Build error lex.yy.cc #5

fmrico opened this issue Dec 16, 2017 · 5 comments

Comments

@fmrico
Copy link

fmrico commented Dec 16, 2017

I get this error when compiling:

g++ -c pddl+.cpp  -g -O2 -ggdb -DYYMAXDEPTH=25000    
In file included from pddl+.yacc:1423:0:
lex.yy.cc: In member function ‘virtual int yyFlexLexer::yylex()’:
lex.yy.cc:1169:9: error: no match for ‘operator=’ (operand types are ‘std::istream {aka std::basic_istream<char>}’ and ‘std::istream* {aka std::basic_istream<char>*}’)
    yyin = & std::cin;
         ^

This file is generated from pddl+.lex , but I can not see the problem ¿Versions of flex?

I am using Ubuntu 16.04 LTS

@pstaerk
Copy link

pstaerk commented Nov 14, 2021

Same here.

@qq765490023
Copy link

same, i am using ubuntu18.04

@mormoassaf
Copy link

same, mac

@dgarcu
Copy link

dgarcu commented Feb 20, 2024

Same here!

In the mean time, I am trying this...

@Juancams
Copy link

Try this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants