------- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-16 17:04 ------- Actually for C++, any inline disables the warning: inline int fii(int *other) { if(!other)return 0; }
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Using inline + always_inline|Using inline disables |disables warnings about |warnings about missing |missing return statements |return statements http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21678