Codeblocks and mingw32 from command prompt giving different results

When I try to compile with the mingw32 compilers from the bin directory of the default install of codeblocks 8.02 and 10.05 using g++.exe and c++.exe from the command prompt, (setting my path to the bin directory etc) I get the following runtime error:

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


I have isolated the fault to one of my inference rules, but when I compile the same code with mingw32 from within the codeblocks ide I get no such error.

I am using the default compiler settings within codeblocks. What compiler options, or which compiler within the mingw\bin directory is codeblocks using to compile my code?

Edit: Its only when i compile with the mingw32 compilers from version 8.02 of codeblocks that gives me the error from command prompt. I reset my path to the mingw\bin from the codeblocks 10.05 installation and I don't get the error any more even when compiling from the command line.

I still am curious as to what was causing the error however. If anyone knows I appreciate your input.
Last edited on
Topic archived. No new replies allowed.