GCC3 bugs - TechRepublic
General discussion
September 23, 2004 at 02:06 PM
kissmyassbush

GCC3 bugs

by kissmyassbush . Updated 21 years, 8 months ago

yo

I’m using the gcc3 c and c++ compiler through unix on my Mac
OS 10.3 laptop. C works perfectly with this compiler, but every
time I try to compile c++ I get errors. I’m using a piece of IDE
software that can handle the C++ compilation, but it’s really
starting to bug me that I can’t compile c++ like I should be able
to. To test this out, I wrote a sample app:

//test.cpp

#include

using namespace std;

int main(void){

cout<<"Test\n"; return 0; }//end main I see know problem's with this src code. The compiler returns the following error: ld: Undefined symbols: std::ios_base::Init::Init[in-charge]() std::ios_base::Init::~Init [in-charge]() std::cout std::basic_ostream >& std::
operator<< >(std::basic_ostream >&, char const*)
___gxx_personality_v0

anyone know whats going on??

This discussion is locked

All Comments