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]

New warnings in libstdc++-v3 since 2004-01-05


I see the following new warnings when compiling GCC CVS on different
Linux platforms:
../../../../libstdc++-v3/src/bitmap_allocator.cc: In member function 'size_t* __gnu_cxx::free_list::_M_
get(size_t)':
../../../../libstdc++-v3/src/bitmap_allocator.cc:110: warning: control reaches end of non-void function

../../../../libstdc++-v3/testsuite/testsuite_abi.cc: In function âsymbol& get_symbol(const std::string&, const symbols&)â:
../../../../libstdc++-v3/testsuite/testsuite_abi.cc:268: warning: control reaches end of non-void function

What is the best way to fix this?

Should we add to include/bits/functexcept.h some
__attribute__((noreturn)) ?

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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