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


Rafael Ávila de Espíndola <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #4 from Rafael Ávila de Espíndola <[EMAIL PROTECTED]>  2008-11-17 
10:47:11 ---
It looks like this was not fully fixed. Building llvm-gcc @56905 and doing "cc1
test.i" I get

cc1: warning: -Wformat-security ignored without -Wformat

With a newer revision (58836), I get

test.i:7: warning: format not a string literal and no format arguments

where test.i is

----------------------------------------------------------
extern int printf (__const char *__restrict __format, ...);

extern const char *foo();

int main(void) {
  const char *the_string = foo();
  printf(the_string);
}
--------------------------------------------------------


-- 
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