[LLVMbugs] [Bug 17319] clang compiles code without error, but gcc fails with error.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 23 11:42:31 PDT 2013


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

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
         Resolution|---                         |INVALID

--- Comment #2 from Eli Friedman <sharparrow1 at yahoo.com> ---
Which additional standard C library macros are defined by standard C headers is
unspecified, and can vary even between compilers on the same platform.  If
you're using va_arg, you should explicitly write "#include <stdarg.h>".

-- 
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/20130923/83b5144d/attachment.html>


More information about the llvm-bugs mailing list