Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ make
- g++ -Wall -g -I. -DUNICODE -D_UNICODE -DMINGW -DWIN32 -c -o main.o main.cpp
- main.cpp: In member function 'virtual void GameWindow::draw()':
- main.cpp:176:27: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11
- for (Star& star : stars)
- ^
- main.cpp:179:32: error: 'to_wstring' is not a member of 'std'
- font.draw(L"Score: " + std::to_wstring(player.getScore()), 10, 10, zUI, 1, 1, Gosu::Color::YELLOW);
- ^
- In file included from ./Gosu/Bitmap.hpp:9:0,
- from ./Gosu/Gosu.hpp:14,
- from main.cpp:2:
- ./Gosu/GraphicsBase.hpp: At global scope:
- ./Gosu/GraphicsBase.hpp:100:34: warning: 'Gosu::zImmediate' defined but not used [-Wunused-variable]
- GOSU_DEPRECATED const double zImmediate = -std::numeric_limits<double>::infinity();
- ^
- <builtin>: recipe for target 'main.o' failed
- make: *** [main.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement