https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84919

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Martin Sebor from comment #11)
> 
> Until then, the only way to avoid the warning that I can think of is to
> exclude from checking arguments passed through the ellipsis, but that will
> result in some false negatives for sprintf et al.  So the question is: do
> the benefits of the warning outweigh the cost of the false positives.
> 

It is a regression that GCC 8 can't compile lib/str_error_r.c in Linux kernel
without modifications.

Reply via email to