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

            Bug ID: 121386
           Summary: Can't build on OpenBSD -current/amd64
           Product: gcc
           Version: 15.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kirill at korins dot ky
  Target Milestone: ---

An attempt to build gcc-15 on OpenBSD discovers wired issue:

gengtype-lex.cc:87:42: error: missing binary operator before token "0"          
/build/pobj/gcc-15.1.0/gcc-15.1.0/gcc/hwint.h:123:5: note: in expansion of
macro 'SIZE_MAX'                                                                
  123 | #if SIZE_MAX <= UINT_MAX                                                
      |     ^~~~~~~~                                                            
gengtype-lex.cc:87:42: error: missing binary operator before token "0"          
/build/pobj/gcc-15.1.0/gcc-15.1.0/gcc/hwint.h:126:7: note: in expansion of
macro 'SIZE_MAX'                                                                
  126 | #elif SIZE_MAX <= ULONG_MAX                                             
      |       ^~~~~~~~                                                          

here a workaround: nuke gcc/gengtype-lex.cc

Reply via email to