[LLVMbugs] [Bug 2248] Clang cannot compile its preprocessed output with same flags

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri May 23 23:12:44 PDT 2008


Neil Booth <neil at daikokuya.co.uk> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #2 from Neil Booth <neil at daikokuya.co.uk>  2008-05-24 01:12:43 ---
Nope, still broken.  Here's the cut-down preprocessed file.

# 1 "/tmp/bug.c" 1
typedef __builtin_va_list va_list;
void d (int tag, ...)
  va_list ap;

  __builtin_stdarg_start((ap), (tag));
  __builtin_va_end (ap);

$ clang -pedantic-errors /tmp/bug.i
/tmp/bug.i:7:3: error: implicit declaration of function
'__builtin_stdarg_start' is invalid in C99
  __builtin_stdarg_start((ap), (tag));
1 diagnostic generated.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list