This is the mail archive of the gcc-bugs@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]

STL g++ warnings with egcs-1.0.2 on HPUX10.20


Hi,

I get following warnings with egcs-1.0.2 on HPUX10.20.
Are they dangerous?
Is there a patch?
 

      stl_vector.h: In method `void vector<unsigned char,__default_alloc_template<false,0> >::insert_aux(unsigned char *, const unsigned char &)':
      stl_vector.h:325: warning: `unsigned char * p' might be used uninitialized in this function
      stl_vector.h:325: warning: `const unsigned char & value' might be used uninitialized in this function
      stl_construct.h:45: warning: `void * place' might be used uninitialized in this function
      stl_vector.h:333: warning: `unsigned int const len' might be used uninitialized in this function
      stl_vector.h:334: warning: `unsigned char * new_start' might be used uninitialized in this function
      stl_vector.h:335: warning: `unsigned char * new_finish' might be used uninitialized in this function
      stl_vector.h:334: warning: `unsigned int n' might be used uninitialized in this function
      stl_alloc.h:221: warning: `unsigned int n' might be used uninitialized in this function
      stl_alloc.h:396: warning: `unsigned int n' might be used uninitialized in this function
      stl_alloc.h:398: warning: `unsigned int bytes' might be used uninitialized in this function
      stl_alloc.h:408: warning: `unsigned int bytes' might be used uninitialized in this function
      stl_vector.h:338: warning: `unsigned char * p' might be used uninitialized in this function
      stl_construct.h:45: warning: `void * place' might be used uninitialized in this function
      stl_vector.h:344: warning: `struct cp_eh_info * __exception_info' might be used uninitialized in this function
      stl_vector.h:345: warning: `unsigned char * last' might be used uninitialized in this function
      stl_construct.h:66: warning: `unsigned char * last' might be used uninitialized in this function
      stl_construct.h:61: warning: `((anonymous))' might be used uninitialized in this function
      stl_vector.h:346: warning: `unsigned char * p' might be used uninitialized in this function
      stl_vector.h:346: warning: `unsigned int n' might be used uninitialized in this function
      stl_alloc.h:225: warning: `unsigned int n' might be used uninitialized in this function
      stl_alloc.h:225: warning: `void * p' might be used uninitialized in this function
      stl_alloc.h:422: warning: `void * p' might be used uninitialized in this function
      stl_alloc.h:422: warning: `((anonymous))' might be used uninitialized in this function
      stl_alloc.h:425: warning: `unsigned int bytes' might be used uninitialized in this function
 

thanks, Marcel

-- 
------------------------------------------------------------------

    _/_/_/   _/    _/  _/_/_/  _/_/_/  Dipl.-Ing. Marcel Ruff
   _/   _/  _/    _/  _/      _/       Frequentis Network Systems
  _/_/_/   _/    _/  _/_/_/  _/_/_/    
 _/   _/  _/    _/  _/      _/         An der Bundesstrasse 31    
_/    _/   _/_/_/  _/      _/          D-88090 Immenstaad/Bodensee  
                             P.O. Box: D-88039 Friedrichshafen
-------------------------------------------------------------------
Tel.:  +49/7545/8-2437                 Fax :  +49/7545/8-5811
email: ruff@comsys.dofn.de             http://saidev.ga-ais.de/ATC/
email: ruff@frqnet.com
email: Marcel.Ruff@t-online.de (priv)  Tel.:  +49/7556/96780 (priv)
-------------------------------------------------------------------
 
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]