------- Comment #11 from manu at gcc dot gnu dot org 2010-03-06 12:18 ------- (In reply to comment #10) > However, with so many lines of legacy code out there using bit-filed that have > been proven to work, it doesn't make sense to revisit/modify them. Would it > be > possible for gcc to provide a -Wbitfield-conversion flag in new releases and > make 39170 an enhancement (preferably high priority)?
Seriously, I am not the "maintainer" of GCC diagnostics or even Wconversion. Anyone can contribute! Yes, it may be possible to provide such an option. I am not against such an option and even if I were I cannot stop you from implementing it and getting it approved by GCC maintainers. I don't know how much work it would be to implement it, and out of kindness I might invest some of my free time to try to do it for GCC 4.6. But even if I might try, that won't happen before summer almost for sure, and then GCC 4.6 won't be available before late next year. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-03-06 12:18:44 date| | Summary|cannot silence -Wconversion |provide an option to silence |warnings for bit-fields |-Wconversion warnings for | |bit-fields http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39170