MinGW / CxxTest bizarre errors

后端 未结 2 1661
南笙
南笙 2020-11-28 12:20

I hope you can help me. I have written a small project using CxxTest on my main dev machine. Everything works great on this machine, no problems. However, I tried setting up

相关标签:
2条回答
  • 2020-11-28 12:50

    I also recently updated MinGW and ran into very very similar problems. After some research I found this question on SO and tried replacing -std=c++11 with -std=gnu++11. This resolved the issue for me. Hope that helps!

    0 讨论(0)
  • 2020-11-28 12:51

    If you are using CMake, ensure you have

    set( CMAKE_CXX_EXTENSIONS ON )
    

    in your CMakeLists.txt file

    0 讨论(0)
提交回复
热议问题