[Bug c++/107638] [13 Regression] options.h:239:36: error: token "." is not valid in preprocessor expressions

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 11 16:25:11 GMT 2022


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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Target Milestone|---                         |13.0
   Last reconfirmed|                            |2022-11-11
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Whoops, sorry for the build breakage, I had wrongly assumed
SUPPORTS_INIT_PRIORITY is always a simple constant.  Instead of trying to
statically exclude init_priority from the attribute table, I guess we should
just special case init_priority in the __has_attribute handling.


More information about the Gcc-bugs mailing list