1 2 3 4 5
#include <string> std::string f() { cout<<"hello world"; }
1 2 3
cc1plus: warnings being treated as errors In function 'std::string f()': Line 5: warning: control reaches end of non-void function