Posted by Aaron on July 12, 2001 at 12:59:08:
In Reply to: so what do these errors mean? posted by kalpol on July 12, 2001 at 12:17:12:
Actually, that's just g++ being more mindful than vc++. It's telling you that you have a non-void function that is not returning a value.
make sure you have a return before your program/function terminates.
aaron
: g++ is so obscure sometimes...this runs fine in VC++
: set.h:223: instantiated from `set
: set.h:80: instantiated from `set
: set.h:27: instantiated from `set
: test.c:37: instantiated from here
: set.h:180: warning: control reaches end of non-void function `set
: set.h: In method `enum set
: set.h:80: instantiated from `set
: set.h:27: instantiated from `set
: test.c:37: instantiated from here