[flashrom] [PATCH] Fix compilation with only one enabled programmer.

Stefan Tauner stefan.tauner at alumni.tuwien.ac.at
Sun Nov 22 00:19:15 CET 2015


Other workarounds:

 - adding a dummy value to the enum with a negative value
 - clang pragmas to disable the warnings
 - a BUGS file

I am strictly against the pragmas because they litter the code too
much. Carl-Daniel is against the -1 hack. I would not mind a BUGS file
at all but I am also ok with just ignoring the issue. It does not
happen in the default configuration and can easily be worked around by
setting the CFLAGS (adding -Wno-tautological-compare), adding another
programmer or using gcc instead...

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list