[Bug 299631] Compiling with: "clang -Wall test.cxx -lc++": clang(1) produces an error/warning due to the printf(3) conversion.

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Oct 2026 14:28:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299631

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org
             Status|New                         |Closed
         Resolution|---                         |Not Accepted

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
the warning is very explicit about the error:

x.cc:6:12: warning: invalid conversion specifier '6'
      [-Wformat-invalid-specifier]
    6 | printf ("%w64u\n", blah);
      |          ~~^

please check printf(3) again

-- 
You are receiving this mail because:
You are the assignee for the bug.