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

            Bug ID: 65331
           Summary: C99 format macros doesn't accept bit fields for 64-bit
                    integer types
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dmitry.petroff at gmail dot com

Created attachment 34976
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34976&action=edit
compile with gcc -Werror=format

Hi.
I'm compiling my project with -Werror=format and compilation failt when I use
bit fields of (u)int64_t type. I expected that bit fields wider than 32 bits
will be compatible with PRIu64/PRIi64/PRIx64.
This bug also appears in 4.8 branch (don't know about earlier versions).

Reply via email to