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

Re: help: new compile error after ugrading gcc


On Oct  3, 2000, "Kirk R. Wythers" <kwythers@forestry.umn.edu> wrote:

> I just updated gcc to 2.96

GCC 2.96 is not enough to identify which snapshot or release you're
talking about.  Run `gcc -v' to get the full version identifier.

> pnet.cpp:166: return-statement with no value, in function declared with 
> a non-void return type

This probably refers to code such as:

int foo() {
  return; // missing return value
}

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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