I dunno if I'm doing something wrong here, but I can't for the life of me get Code::Blocks to compile existing code that compiles fine in VS2012.
Includes like
strsafe.h and
xstring cause weird compilation errors, the strangest of which is a "missing close bracket" in the middle of a standard include file. Needless to say, there is no missing bracket. Further,
move.h causes C::B to throw up with "fatal error: expected function body after function declarator".
Guard clauses like
#ifndef _FUNCTIONAL_
#error Must include <functional>
#endif
throw errors even though
functional has been included.
Now, quite possibly it's the compiler at fault (clang), but I get insane errors with "GCC" and "Microsoft Visual C++ 2010" compilers as well - just different insane errors. What am I doing wrong?