What does the compiler error “missing binary operator before token” mean?

后端 未结 4 1841
执念已碎
执念已碎 2020-11-30 09:40

I recently got the following error when trying to compile with gcc:

error: missing binary operator before token \"(\"

Web and SO

4条回答
  •  难免孤独
    2020-11-30 10:20

    You get this error sometimes if you have -fno-operator-names in your compiler flags. I suffered from the exact error while building json and this solved it.

提交回复
热议问题