git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Nit] Lots of enumerated type warnings
@ 2018-01-19 23:17 Randall S. Becker
  2018-01-22 22:41 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Randall S. Becker @ 2018-01-19 23:17 UTC (permalink / raw)
  To: git

So here a bit of a nit or nano-quibble that I have. Call it my "warnings
OCD" if you want. I'm seeing an increase in the enumerated type warnings
coming from my use of the c99 compiler for compiling git over time (loads
more for 2.16.0 compared to 2.3.7 when I took it on). What is the general
feeling on these? I would be willing do static casts rather than see the
warnings, mostly because I advocate in public that warnings are actually
future potential errors, so clean compiles are better. I don't see this
conflicting with anything in gcc. Is there a desire/need to clean up this
stuff? I can take a stab at gradually cleaning this up when $DAYJOB and
#FAMILY don't conflict.

Although, given the choice, I'd rather look into that whole --via concept
from a different thread ;-)

Cheers,
Randall

-- Brief whoami:
 NonStop developer since approximately 211288444200000000
 UNIX developer since approximately 421664400
-- In my real life, I talk too much.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-23  0:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-19 23:17 [Nit] Lots of enumerated type warnings Randall S. Becker
2018-01-22 22:41 ` Junio C Hamano
2018-01-22 22:52   ` Randall S. Becker
2018-01-22 23:44     ` Junio C Hamano
2018-01-23  0:05       ` Randall S. Becker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).