m42a / mines-perfect

An improved minesweeper clone
GNU General Public License v2.0
3 stars 3 forks source link

Build Issues #2

Open areeves opened 10 years ago

areeves commented 10 years ago

Unable to build on Fedora 20. Unsure what version of WX is expected- installed package wxGTK-devel, but it doesn't seem to be compatible with C++ 11:

g++ -MMD -MP -c -Wall -Wextra -Werror -O3 -std=c++0x -D_VARIANT_=4 -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread wxwin/api.cpp -o wxwin/api.o
In file included from /usr/include/wx-2.8/wx/wxprec.h:13:0,
                 from wxwin/api.cpp:34:
/usr/include/wx-2.8/wx/defs.h:2887:5: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Werror=literal-suffix]
     "/manifestdependency:\"type='win32'         \
     ^
cc1plus: all warnings being treated as errors
make: *** [wxwin/api.o] Error 1
m42a commented 10 years ago

This should be fixed in the latest commit (8d0de8adb3ccb23085e60a63a19ea26c9852fb6b). Can you test it?