m42a / mines-perfect

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

Compile on windows with wxWidgets-3.0.0 #3

Closed FalseFerret closed 10 years ago

FalseFerret commented 10 years ago

Don't know why STRICT_ANSI is necessary, may still be missing something with wcsdup, can't find the same error anywhere through searching.

m42a commented 10 years ago

You should change the feature test macro from wxUSE_WAVE to wxUSE_SOUND since you're using wxSound now.

Rather than undefining __STRICT_ANSI__, does it work if you change std=c++0x to std=gnu++0x in the Makefile? If it does, that's probably the better way to do it.

FalseFerret commented 10 years ago

Made changes, worked great. Bitmap does not refresh sometimes on board change as noted in a past issue. Same as before these changes though. Not sure if I can help with that. Might try making a few changes to the game now (on a different branch), thanks.