Well,
The thing is that a few days ago i installed MINGW GCC 4.5.
Coming to the point
When i compile and link C++ files on command line using g++ or Mingw-g++ They work like a charm.
But when i use CB to do the same it gives me a list of errors.
It should be noted that When compiling C files CB Works.
I am installing CB 10.05 I hope it fixes this.
Here are those list of errors that CB is giving me
Compiling: C:\Documents and Settings\Administrator\Desktop\para.cpp
Linking console executable: C:\Documents and Settings\Administrator\Desktop\para.exe
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSoC1EPSt15basic_streambufIcSt11char_traitsIcEE[std::basic_ostream<char, std::char_traits<char> >::basic_ostream(std::basic_streambuf<char, std::char_traits<char> >*)]+0x3e): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSoC1EPSt15basic_streambufIcSt11char_traitsIcEE[std::basic_ostream<char, std::char_traits<char> >::basic_ostream(std::basic_streambuf<char, std::char_traits<char> >*)]+0xb3): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSoC1EPSt15basic_streambufIcSt11char_traitsIcEE[std::basic_ostream<char, std::char_traits<char> >::basic_ostream(std::basic_streambuf<char, std::char_traits<char> >*)]+0xfa): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSoC2EPSt15basic_streambufIcSt11char_traitsIcEE[std::basic_ostream<char, std::char_traits<char> >::basic_ostream(std::basic_streambuf<char, std::char_traits<char> >*)]+0x40): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSoC2EPSt15basic_streambufIcSt11char_traitsIcEE[std::basic_ostream<char, std::char_traits<char> >::basic_ostream(std::basic_streambuf<char, std::char_traits<char> >*)]+0x81): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSoC2EPSt15basic_streambufIcSt11char_traitsIcEE[std::basic_ostream<char, std::char_traits<char> >::basic_ostream(std::basic_streambuf<char, std::char_traits<char> >*)]+0xa3): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5tellpEv[std::basic_ostream<char, std::char_traits<char> >::tellp()]+0x3d): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5tellpEv[std::basic_ostream<char, std::char_traits<char> >::tellp()]+0xd7): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5tellpEv[std::basic_ostream<char, std::char_traits<char> >::tellp()]+0x119): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5seekpExSt12_Ios_Seekdir[std::basic_ostream<char, std::char_traits<char> >::seekp(long long, std::_Ios_Seekdir)]+0x3d): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5seekpExSt12_Ios_Seekdir[std::basic_ostream<char, std::char_traits<char> >::seekp(long long, std::_Ios_Seekdir)]+0x6a): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5seekpExSt12_Ios_Seekdir[std::basic_ostream<char, std::char_traits<char> >::seekp(long long, std::_Ios_Seekdir)]+0x13d): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5seekpExSt12_Ios_Seekdir[std::basic_ostream<char, std::char_traits<char> >::seekp(long long, std::_Ios_Seekdir)]+0x17a): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5seekpESt4fposIiE[std::basic_ostream<char, std::char_traits<char> >::seekp(std::fpos<int>)]+0x3d): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5seekpESt4fposIiE[std::basic_ostream<char, std::char_traits<char> >::seekp(std::fpos<int>)]+0x6e): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5seekpESt4fposIiE[std::basic_ostream<char, std::char_traits<char> >::seekp(std::fpos<int>)]+0x156): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5seekpESt4fposIiE[std::basic_ostream<char, std::char_traits<char> >::seekp(std::fpos<int>)]+0x19f): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5flushEv[std::basic_ostream<char, std::char_traits<char> >::flush()]+0x3a): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5flushEv[std::basic_ostream<char, std::char_traits<char> >::flush()]+0x7e): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5flushEv[std::basic_ostream<char, std::char_traits<char> >::flush()]+0xbb): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5flushEv[std::basic_ostream<char, std::char_traits<char> >::flush()]+0xed): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc[std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)]+0x37): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc[std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)]+0x187): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc[std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)]+0x28d): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c[std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char)]+0x3d): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c[std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char)]+0x197): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c[std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char)]+0x238): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5writeEPKci[std::basic_ostream<char, std::char_traits<char> >::write(char const*, int)]+0x3a): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5writeEPKci[std::basic_ostream<char, std::char_traits<char> >::write(char const*, int)]+0x74): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSo5writeEPKci[std::basic_ostream<char, std::char_traits<char> >::write(char const*, int)]+0x176): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEPSt15basic_streambufIcSt11char_traitsIcEE[std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_streambuf<char, std::char_traits<char> >*)]+0x34): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEPSt15basic_streambufIcSt11char_traitsIcEE[std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_streambuf<char, std::char_traits<char> >*)]+0xbe): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEPSt15basic_streambufIcSt11char_traitsIcEE[std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_streambuf<char, std::char_traits<char> >*)]+0x1d6): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEPKv[std::basic_ostream<char, std::char_traits<char> >::operator<<(void const*)]+0x37): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEPKv[std::basic_ostream<char, std::char_traits<char> >::operator<<(void const*)]+0x167): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEPKv[std::basic_ostream<char, std::char_traits<char> >::operator<<(void const*)]+0x21c): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEe[std::basic_ostream<char, std::char_traits<char> >::operator<<(long double)]+0x37): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEe[std::basic_ostream<char, std::char_traits<char> >::operator<<(long double)]+0x177): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEe[std::basic_ostream<char, std::char_traits<char> >::operator<<(long double)]+0x22c): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEd[std::basic_ostream<char, std::char_traits<char> >::operator<<(double)]+0x37): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEd[std::basic_ostream<char, std::char_traits<char> >::operator<<(double)]+0x167): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEd[std::basic_ostream<char, std::char_traits<char> >::operator<<(double)]+0x21c): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEy[std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned long long)]+0x37): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEy[std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned long long)]+0x177): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEy[std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned long long)]+0x22c): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEx[std::basic_ostream<char, std::char_traits<char> >::operator<<(long long)]+0x3a): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEx[std::basic_ostream<char, std::char_traits<char> >::operator<<(long long)]+0x1a7): undefined reference to `_Unwind_SjLj_Unregister'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEx[std::basic_ostream<char, std::char_traits<char> >::operator<<(long long)]+0x302): undefined reference to `_Unwind_SjLj_Resume'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEb[std::basic_ostream<char, std::char_traits<char> >::operator<<(bool)]+0x3e): undefined reference to `_Unwind_SjLj_Register'
C:\MinGW\lib/libstdc++.a(ostream-inst.o):ostream-inst.cc:(.text$_ZNSolsEb[std::basic_ostream<char, std::char_traits<char> >::operator<<(bool)]+0x177): undefined reference to `_Unwind_SjLj_Unregister'