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

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to