This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: two testcases for g++ bugs in latest snapshots. (committed)
- To: robertl at dgii dot com
- Subject: Re: PATCH: two testcases for g++ bugs in latest snapshots. (committed)
- From: Klaus-Georg Adams <Klaus-Georg dot Adams at chemie dot uni-karlsruhe dot de>
- Date: Tue, 30 Jun 1998 17:34:00 +0200
- CC: egcs-patches at cygnus dot com
>>>>> "Robert" == Robert Lipe <robertl@dgii.com> writes:
[...]
Robert> I see it whining about no match for foo(void). Is this
Robert> your intent? Please verify this testcase.
No, I see:
/egcs/egcs/bin/g++ -c -Wall -O -fgcse -frerun-loop-opt eb132.C
eb132.C: In method `void a::bar()':
eb132.C:23: warning: `class basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > * this' might be used uninitialized in this function
/egcs/egcs/include/g++/std/bastring.h:200: warning: `class basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > * this' might be used uninitialized in this function
/egcs/egcs/include/g++/std/bastring.h:162: warning: `const class basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > * this' might be used uninitialized in this function
/egcs/egcs/include/g++/std/bastring.h:120: warning: `const class basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > * this' might be used uninitialized in this function
Maybe the `-c' got left out somehow when you pass the special options to
g++ (then the linker complains).
-- Thank's, kga
-------------------------------------------------------------------------
Klaus-Georg Adams Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie, Lehrstuhl II Tel: 49(0)721 608 3485
Universität Karlsruhe, D-76128 Karlsruhe
-------------------------------------------------------------------------