lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #52611] Incorrect use of ctype macros?


From: Mike Kleshov
Subject: [lwip-devel] [bug #52611] Incorrect use of ctype macros?
Date: Thu, 7 Dec 2017 04:46:18 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #5, bug #52611 (project lwip):

I don't understand this. If it's wrong in the caller, why the cast to int in
the first place? To fix compiler warnings? Shouldn't they be fixed in the
caller?
Besides, where does it say that lwip_is<whatever> macros must behave just like
standard ctype macros? If you are willing to fix compiler warnings this way,
you might as well do it in a way that insures that nobody has to 'fix the
caller'.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?52611>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]