My code runs smoothly on a x86 virtual machine but not in a x64
I'm creating a parser to compile the language Fortran but only runs correctly in a x86 windows.
And the error is intermittent in the x64 , only gives segmentaion fault sometimes!I'm using codeblocks with mingw32-g++ .
Any suggestions??
Re: My code runs smoothly on a x86 virtual machine but not in a x64
Debug your code, without it nobody here can tell you what's wrong.
One idea could be to compile your code with MS Visual Studio. Make sure that the C/C++ option 'Detect 64-bit Portability Issues' is set in the project you create. Be aware though that 64-bit MSVC & gcc does not have the same size for all integer types.