[cfe-commits] r148873 - in /cfe/trunk: include/clang/Basic/Builtins.def lib/Sema/SemaDecl.cpp test/SemaObjC/builtin_objc_nslog.m
NAKAMURA Takumi
geek4civic at gmail.com
Tue Jan 24 16:45:07 PST 2012
2012/1/25 Jean-Daniel Dupas <devlists at shadowlab.org>:
> Author: jddupas
> Date: Tue Jan 24 16:32:46 2012
> New Revision: 148873
>
> URL: http://llvm.org/viewvc/llvm-project?rev=148873&view=rev
> Log:
> Replace a hack to handle NSLog/NSLogv in sema by declaring them as Library Builtins.
Jean-Daniel,
I saw an unexpected diagnostic on msvc and cygwin.
error: 'warning' diagnostics expected but not seen:
Line 11: implicitly declaring C library function 'NSLogv' with type
'void (id, __va_list_tag *)'
error: 'warning' diagnostics seen but not expected:
Line 11: implicitly declaring C library function 'NSLogv' with type
'void (id, __builtin_va_list)'
2 errors generated.
I have confirmed it would be fixed if "-triple x86_64-darwin" were
added. I wonder which triplet would be more suitable.
...Takumi
More information about the cfe-commits
mailing list