Hello guys, I am new to here.
First off, I am not an navtive English speaker. Pardon my crappy English, please
.
I think I've spotted a bug. I haven't tried this version yet. but I've got this bug at 4564 and 4466.
consider following code:
#include <iostream>
#include <cstdlib>
int lol();
using namespace std;
int main() // #Here
{ // #Here
int k = 1;
lol();
k = 3;
++k;
k = 34;
std::cout << k++;
std::cout << k++;
std::system("pause");
return 0;
}
int lol() // #Here#
{ // #Here#
int XDF = 4;
XDF =3;
XDF += 4;
return XDF;
}
If you put a breakpoint at lines marked
// #Here
The watch value becames incorrect(displaying values such like k = 2359160). However, If you put it to somewhere else. It works fine......
I am using The Compiler that C::B RC2 Bundled with and my OS is Windows XP SP2.
I'll trying this out with this build
--
Edit: Confirmed, this bug exists with this version( C::B RC2 bundled MinGW)