https://llvm.org/bugs/show_bug.cgi?id=23512

Dimitry Andric <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #7 from Dimitry Andric <[email protected]> ---
Right, this is a bug in the FreeBSD-specific -fformat-extensions support, added
in the lang/clang35 port.  This flag isn't supported by upstream clang, and has
been replaced by the __format__(__freebsd_kprintf__, x, y) attribute in trunk.

For reference, a minimal example is:

void foo(int, const char *, ...) __attribute__((__format__(__printf__, 2, 3)));

void bar(const unsigned char *p, unsigned short len)
{
  foo(-1, " %*D", len, p, "-");
}

Let's move this bug over to the FreeBSD bug tracker:

https://bugs.freebsd.org/200193

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to