Menu

#276 VS 2013 compiler error C2679

v1.0_(example)
closed
nobody
None
1
2015-12-05
2013-10-30
Zemantics
No

When I try to compile a Quex 0.64.8 project with Visual Studio 2013 (v12.0.21005.1 REL) I get the following error message:

c:\program files (x86)\quex\quex-0.64.8\quex\code_base\analyzer\member\constructor.i(119): error C2679: binary '==' : no operator found which takes a right-hand operand of type 'std::istream' (or there is no acceptable conversion)

You can recreate the bug by trying to compile the quex-0.64.8\demo\Cpp\000 demo project with Visual Studio 2013 (v12.0.21005.1 REL).

Discussion

  • Zemantics

    Zemantics - 2013-10-30

    The full error message is:

    1>c:\program files (x86)\quex\quex-0.64.8\quex\code_base\analyzer\member\constructor.i(119): error C2679: binary '==' : no operator found which takes a right-hand operand of type 'std::istream' (or there is no acceptable conversion)
    1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\exception(497): could be 'bool std::operator ==(const std::exception_ptr &,const std::exception_ptr &)' [found using argument-dependent lookup]
    1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\exception(502): or       'bool std::operator ==(std::nullptr_t,const std::exception_ptr &)' [found using argument-dependent lookup]
    1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\exception(507): or       'bool std::operator ==(const std::exception_ptr &,std::nullptr_t)' [found using argument-dependent lookup]
    1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\system_error(402): or       'bool std::operator ==(const std::error_code &,const std::error_condition &) throw()' [found using argument-dependent lookup]
    1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\system_error(410): or       'bool std::operator ==(const std::error_condition &,const std::error_code &) throw()' [found using argument-dependent lookup]
    1>          while trying to match the argument list '(std::istream *, std::istream)'
    
     

    Last edit: Zemantics 2013-10-30
  • Frank-Rene Schäfer

    • status: open --> pending
     
  • Frank-Rene Schäfer

    Should be fixed in 0.65.1c

    Please, confirm!

     
  • Zemantics

    Zemantics - 2014-07-23

    Thanks for fixing this issue, Frank-Rene.

    I'm not currently working on the SparkleDB lexer, but I will be in a month or so.

    Kind regards,
    Inge.

     

    Last edit: Zemantics 2014-07-23
  • Frank-Rene Schäfer

    • Status: pending --> closed
     

Log in to post a comment.