This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Fix undefined behaviors in regex


On Thu, Oct 17, 2013 at 5:03 AM, Paolo Carlini <paolo.carlini@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]