A problem in g++

Moshe Harary moshe.harary@emblaze.com
Tue Dec 10 08:42:00 GMT 2002


I wander if someone can help me?

I wrote main.cpp file that looks like that:

#include <vector>
int main()
{

}

and tried to build it using this command:
g++ main.cpp


I got that Error:

In file included from /usr/local/include/g++-v3/bits/stl_alloc.h:38,
                 from /usr/local/include/g++-v3/bits/std_vector.h:34,
                 from /usr/local/include/g++-v3/vector:31,
                 from main.cpp:1:
/usr/local/include/g++-v3/bits/stl_threads.h: In constructor `std::_Refcount_Base::_Refcount_Base(unsigned int)':
/usr/local/include/g++-v3/bits/stl_threads.h:85: excess elements in aggregate initializer


What did I do wrong?



	thanks,
	Moshe Harary

**************************************************************************************************
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the 
sender immediately and do not disclose the contents to any one or make copies.

** eSafe scanned this email for viruses, vandals and malicious content **
**************************************************************************************************



More information about the Libstdc++ mailing list