This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

GCC 2.95.1 complains about stl_alloc.h


I'm getting these compiler errors:
/opt/egcs/include/g++-3/stl_alloc.h: In instantiation of
`__default_alloc_template<true,0>::_S_node_allocator_lock':
/opt/egcs/include/g++-3/stl_alloc.h:394:   instantiated from here
/opt/egcs/include/g++-3/stl_alloc.h:581: warning: aggregate has a partly
bracketed initializer
/opt/egcs/include/g++-3/stl_alloc.h:581: warning: aggregate has a partly
bracketed initializer

When using:
gcc version 2.95.1 19990816 (release)
SunOS walnut 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-4

Before upgrading to the new 2.95.1, I was using:
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

With this version the compiler generated the same warning messages and
an executable.

In 2.95.1, no executable is generated however.

Any hints would be greatly appreciated.

Thanks,

Carlos


Sent via Deja.com http://www.deja.com/
Before you buy.


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