This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

A problem in g++


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 **
**************************************************************************************************


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]