I just set active configuration to release and it gives me 2 errors that I don't have in debug. It says it can't find a semicolon in SDL_image.h, but I see the line it points to and it does have a semicolon.

Btw I'm using MSVC to compile.