error: ‘fileno’ was not declared in this scope

前端 未结 2 1251
旧时难觅i
旧时难觅i 2020-12-18 11:14

I am running Cygwin on windows 8, attempting to compile the source code for a game I would like to mod. Unfortunately I am running into some errors while building involving

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-18 12:08

    Changing the -std=c*** in your makefile to -std=gnu++0x should fix your problem.

    If you don't know what c++11 is you're most likely not using it anyway.

    Also if you need c++11 support you can also do: -std=gnu++11 instead of -std=gnu++0x

提交回复
热议问题