Umesh Dhond - 2009-05-22


minGW: Downloaded ""
OS: Vista SP1 x64

Compiled a simple application on Vista x64 machine: HelloWorld.cpp
#include <iostream>

using namespace std;
int main(int argc, char* argv[])
    cout << "Hello World!" << endl;
    return 0;

Compiler command:
x86_64-pc-mingw32-g++ -g -m64 -ansi -Wall -o HelloWorld.exe HelloWorld.cpp

Compilation succeeded.

However, HelloWorld.EXE crashed on Vista x64 with the exception:

Unhandled exception at 0x00406be8 in HelloWorld.exe: 0xC0000005: Access violation writing location 0x0000000000000001.

I can email you the pre-processor output, if necesary. Does this site/forum take attachments?