[LLVMbugs] [Bug 20465] Segmentation fault: Fails when %s argument has wrong type (void).

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jul 26 22:31:00 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20465

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |FIXED

--- Comment #3 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This works fine with Clang trunk, which says:

<stdin>:7:22: error: cannot pass expression of type 'void' to variadic
function; expected type from format string was 'char *'

(In Clang's timescale, 3.0 is *extremely* old, and is several versions before
the oldest version for which we do patch releases.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140727/22e4a2c7/attachment.html>


More information about the llvm-bugs mailing list