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

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #1)
> 
> The test case makes the tacit assumption that argc is necessarily
> non-negative.  That makes sense for the argc argument to main but not in
> other situations.  

Would it be possible to propose an update to the C standard that allows the
argc argument to main to be unsigned? Could GCC start accepting unsigned argc
as an extension so that -Wmain allows it?

Reply via email to