Skip to content

Instantly share code, notes, and snippets.

@aliou
Created February 15, 2013 10:57
Show Gist options
  • Save aliou/4959706 to your computer and use it in GitHub Desktop.
Save aliou/4959706 to your computer and use it in GitHub Desktop.
src/Parser.cpp:71:16: error: reference to non-static member function must be called; did you mean to call it with no arguments?
if ((*it)->getType == Token::UNKNOWN)
~~~~~~~^~~~~~~
()
1 error generated.
make: *** [src/Parser.o] Error 1
src/Parser.cpp: In member function ‘std::list<Token*> Parser::parse(const std::list<Token*>&)’:
src/Parser.cpp:71:34: error: no match for ‘operator==’ in ‘((Token*)it.std::_List_const_iterator<_Tp>::operator* [with _Tp = Token*, std::_List_const_iterator<_Tp>::reference = Token* const&]())->Token::getType == (Token::TokenTypes)16u’
make: *** [src/Parser.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment