This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin 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]

STL errors building setup with gcc 3.4.4


Hi,

I'm getting weird errors in the bowels of STL code when building setup
using the latest GCC (3.4.4-1).  Below is a sample of the errors.  I'm
stumped -- any ideas?
	Igor

 g++ -mno-cygwin -DHAVE_CONFIG_H -I. -I../../setup/libgetopt++ -I./include -I../../setup/libgetopt++/include -Wall -Werror -g -O2 -MT src/OptionSet.lo -MD -MP -MF src/.deps/OptionSet.Tpo -c ../../setup/libgetopt++/src/OptionSet.cc -o src/OptionSet.o
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_vector.h: In member function `std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::string, _Alloc = std::allocator<std::string>]':
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_vector.h:715: warning: '__result' might be used uninitialized in this function
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_uninitialized.h:82: warning: '__cur' might be used uninitialized in this function
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_uninitialized.h:82: warning: '__cur' might be used uninitialized in this function
make[2]: *** [src/OptionSet.lo] Error 1
make[2]: Leaving directory `/usr/src/setup-cvs/build/libgetopt++'

depbase=`echo package_meta.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -mno-cygwin -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"setup\" -DVERSION=\"0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBMINGW32=1 -DHAVE_ERRNO_H=1 -DHAVE_STRING=1 -DHAVE_STRING_H=1  -I. -I../setup -I../setup/libgetopt++/include -I/usr/include/mingw   -Werror -Wall -Wpointer-arith -Wcomments -Wcast-align -Wwrite-strings -g -O2 -MT package_meta.o -MD -MP -MF "$depbase.Tpo" -c -o package_meta.o ../setup/package_meta.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_tree.h: In member function `typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_copy(const std::_Rb_tree_node<_Val>*, std::_Rb_tree_node<_Val>*) [with _Key = packageversion, _Val = packageversion, _KeyOfValue = std::_Identity<packageversion>, _Compare = std::less<packageversion>, _Alloc = std::allocator<packageversion>]':
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_tree.h:1029: warning: '__top' might be used uninitialized in this function
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_tree.h:365: warning: '__tmp' might be used uninitialized in this function
make[2]: *** [package_meta.o] Error 1

depbase=`echo site.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -mno-cygwin -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"setup\" -DVERSION=\"0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBMINGW32=1 -DHAVE_ERRNO_H=1 -DHAVE_STRING=1 -DHAVE_STRING_H=1  -I. -I../setup -I../setup/libgetopt++/include -I/usr/include/mingw   -Werror -Wall -Wpointer-arith -Wcomments -Wcast-align -Wwrite-strings -g -O2 -MT site.o -MD -MP -MF "$depbase.Tpo" -c -o site.o ../setup/site.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_vector.h: In member function `std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = site_list_type, _Alloc = std::allocator<site_list_type>]':
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_vector.h:715: warning: '__result' might be used uninitialized in this function
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_uninitialized.h:82: warning: '__cur' might be used uninitialized in this function
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_uninitialized.h:82: warning: '__cur' might be used uninitialized in this function
make[2]: *** [site.o] Error 1

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


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