This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 980608 value returning inlines not checked
- To: egcs-bugs at cygnus dot com
- Subject: Re: 980608 value returning inlines not checked
- From: bonnardv at pratique dot fr (Valentin Bonnard)
- Date: Sat, 13 Jun 1998 20:09:06 +0200
egcs behaviour is similar to gcc:
kayak-~ $ gcc test-bug.cc
kayak-~ $ gcc -Wall test-bug.cc
test-bug.cc: In function `double f1()':
test-bug.cc:10: warning: control reaches end of non-void function `f1()'
test-bug.cc: In function `struct A f2()':
...
kayak-~ $ $egcs test-bug.cc
kayak-~ $ $egcs -Wall test-bug.cc
test-bug.cc: In function `double f1()':
test-bug.cc:10: warning: control reaches end of non-void function `f1()'
test-bug.cc: In function `struct A f2()':
...
and seems perfectly correct
--
Valentin Bonnard mailto:bonnardv@pratique.fr
info about C++/a propos du C++: http://pages.pratique.fr/~bonnardv/