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

            Bug ID: 124626
           Summary: [16 Regression] Cobol build fails on *-*-darwin*
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: cobol
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org
  Target Milestone: ---
            Target: *-*-darwin*

This is a new failure - additional to PR122466

/src-local/gcc-master/gcc/cobol/parse.y: In function ‘int yyparse()’:
/src-local/gcc-master/gcc/cobol/parse.y:4370:32: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 4 has type ‘long long int’
[-Werror=format=]
 4370 |                         dbgmsg("expanding %s size from %u bytes to %lu
"
      |                               
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4371 |                                "because it redefines %s with USAGE
POINTER",
      |                               
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4372 |                                field->name, field->size(),
 4373 |                                int_size_in_bytes(ptr_type_node),
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 long long int

Reply via email to