davidmalcolm / gcc-python-plugin

GCC plugin that embeds CPython inside the compiler
GNU General Public License v3.0
199 stars 58 forks source link

should be possible to emit an unconditional warning #48

Closed davidmalcolm closed 7 years ago

davidmalcolm commented 7 years ago

Currently gcc.warning requires an Option object. I think it should be possible to pass None here to get an unconditional warning.

davidmalcolm commented 7 years ago

Imported from trac issue 8. Created by tromey on 2011-10-31T10:24:53, last modified: 2012-01-03T14:44:20

davidmalcolm commented 7 years ago

Trac comment by dmalcolm on 2012-01-03 14:44:20:

Fixed in 2801c82a909473ab9ce27f4975c870d524795ed5