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

           Summary: clang++ trigger ADL on va_list
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
            Blocks: 5511


Testcase:
#define a_list __builtin_va_list
extern a_list l;
extern int f (a_list arg);
namespace n {
int f(a_list arguments);
void y() {
  f(l);
}
}

On x86-64, gcc accepts this, clang rejects it.  Affects Firefox build.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to