return value warning

Michal Liptak liptak@isdd.sk
Fri Mar 8 00:52:00 GMT 2002


gcc 3.0.3 doesn't warn when not returning value from method returning non-void..
what return value is it assuming to return?
for instance:

bool someclass::somemethod(void) {
  //code here
}

m.



More information about the Gcc-help mailing list