mettli / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

Broken MSVC2005 & MSVC2008 build process when including imageloader.hpp #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build guichan from source
2. Include imageloader.hpp in your project

What is the expected behaviour? What happens instead?
Expected: project builds fine.

What happens instead: MSVC2005 & MSVC2008 complain about this line:
virtual Image* load(const std::string& filename, bool
convertToDisplayFormat = true) = 0;

Adding an #include <string> at the top of the file will resolve this issue.

What version of the product are you using? On what operating system? Which
back-end (SDL/Allegro/OpenGL/other)?
OS: WinXP SP3
Backends: SDL + OpenGL

Please provide any additional information below.
Not much to add: simply a missing #include statement.

Original issue reported on code.google.com by Martin.V...@gmail.com on 8 Jun 2008 at 3:17

GoogleCodeExporter commented 9 years ago

Original comment by olof.nae...@gmail.com on 6 Jul 2008 at 8:47