[Bug preprocessor/93109] #undefine suggests #define but not #undef

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 10 20:39:41 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93109

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Eric's analysis in comment #1 is correct.

I agree that "#undef" would be a better suggestion for the case in comment #0,
but I don't think I agree with comment #2.  I'm not sure how to fix this, or if
it's worth special-casing it.


More information about the Gcc-bugs mailing list