gcc3

Why isn't the gcc 4.x.x series compilers installed by MinGW by default?

Currently, MinGW's only installs the 3.x.x series of the gcc compiler by default. However, it looks like the 4.x.x series of compilers have been out for some time, and as others have mentioned, it seems to work just fine. Is there any reason why it hasn't moved to the 4.x.x versions yet, and any reason why I shouldn't use the newer ver...

vector<bool>::push_back bug in GCC 3.4.3?

The following code crashes for me using GCC to build for ARM: #include <vector> using namespace std; void foo(vector<bool>& bools) { bools.push_back(true); } int main(int argc, char** argv) { vector<bool> bools; bool b = false; bools.push_back(b); } My compiler is: arm_v5t_le-gcc (GCC) 3.4.3 (MontaVista 3.4.3-25.0....