A problem in g++

Phil Edwards phil@jaj.com
Tue Dec 10 12:23:00 GMT 2002


On Tue, Dec 10, 2002 at 06:42:33PM +0200, Moshe Harary wrote:
> 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?

You didn't mention what platform you're using.  :-)

Typically this happens on a Solaris system, and is due to Sun changing
their headers in an annoying fashion with every OS release.  But as Benjamin
mentioned, you definitely should try with a more recent version first.


> The contents of this email and any attachments are confidential.
> It is intended for the named recipient(s) only.

Pity you sent it to an archived public mailing list, then.

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

Too bad.


-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002



More information about the Libstdc++ mailing list