On Thu, Oct 17, 2013 at 5:03 AM, Paolo Carlini <paolo.carl...@oracle.com> wrote: >> Though, in the above case, the question is why people ignore warnings from >> the compiler and need to have special runtime instrumentation to remind them >> instead. I'm not objecting to that sanitization, only find it weird.
That's my fault, I forgot that compiling code included from libstdc++ doesn't generate warnings. Then I try to get all warnings, and indeed get the missing-return-statement one. Thanks! -- Tim Shen