http://llvm.org/bugs/show_bug.cgi?id=3030
Summary: format not a string literal and no format arguments
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
I'm seeing this warning:
$ cat test.c
#include <stdio.h>
void f(const char *buf) {
printf(buf);
}
$ llvm-gcc test.c -c
test.c: In function âfâ:
test.c:4: warning: format not a string literal and no format arguments
$ gcc test.c -c
$ llvm-gcc test.c -c -Wno-format
$
Please disable that warning by default on non-Darwin platforms.
--
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