On 01/22/15 08:45, Matthias Klose wrote:
ping

now that C11 mode is the default, can we avoid the warning?
Ick.

Part of me wants to say drop the gets intercepting and just issue some kind of error for C11 mode.

Part of me wants to ignore the issue and accept the warning.

Part of me wants to look at the two paths where we call gets and punt them somehow.

But in the end, adding the prototype is probably best, though I'm sure some lame-o system will have a ever-so-slightly different prototype that will cause a build failure.

Part of me would like to just punt until gcc-6 when fallout would be lighter. But ISTM that without a proper prototype in place, we could get wrong code here on 64 bit platforms.

So, I guess go forward with the prototype. We may have to adjust the guard further if other platforms fail to build.

jeff

Reply via email to