Looks like the problem is that MinGW’s version of GCC 6.3.0’s version of the standard library is including
algorithm in its
stdint.h implementation for some reason.
‘Legally’ that’s permitted, but rather awkward.
Checking my version of Code::Blocks, it seems I’ve got it set it to use 4.9.2 and that doesn’t seem to be causing me issues.
@jonne, what version of GCC is your Code::Blocks using?
That’s exactly the ‘catch-22’ situation I mentioned earlier.
One way to fix that is to
#define DISABLEAVRMIN in
My_settings.h, and then at the top of the main file for 101Starships_GB (which I’m assuming is called
main.cpp), make sure you
#include <Pokitto.h> first, and then right after that put:
#define max(x, y) ((x) > (y) ? (x) : (y))
#define min(x, y) ((x) < (y) ? (x) : (y))
It’s not ideal, but it should work.