I have just swapped from Visual Studio to Code::Blocks as SFML 2.0 was throwing unhandled exception after unhandled exception at me when I used Visual Studio.
However, in Code::Blocks I have some other strange issues. I have included the header <exception>, but:
1) I can't use the class runtime_exception - it doesn't seem to be in the header
2) std::bad_cast shows up on the Smartsense code prediction list, but when I compile, it gives me the error in the post header (expected type-specifier), so it would seem that the compiler doesn't know what std::bad_cast is either.