[LLVMdev] llvm/llvm-gcc-4.2 svn still produces -Wformat/-Wformat-security

Nick Lewycky nicholas at mxc.ca
Mon Jan 19 12:15:07 PST 2009


Bill Wendling wrote:
> Hi Jack,
> 
> Because of the new changes and the fact that we have only 2 days
> before branching for 2.5, please retest the Fortran front end as soon
> as you can to see if the problem has been resolved.

Hi Bill. Thanks for working on this!

Unfortunately, I'm getting this warning now:

   $ llvm-g++ helloworld.c
   cc1plus: warning: -Wformat-security ignored without -Wformat

I think you can fix it by applying the same #define trick to 
-Wformat-security that you did to -Wformat.

Nick

> Thanks!
> -bw
> 
> On Sun, Jan 18, 2009 at 5:11 PM, Jack Howarth <howarth at bromo.med.uc.edu> wrote:
>>   The current llvm/llvm-gcc-4.2 svn when built on
>> i686-apple-darwin9 still produces the bogus warnings...
>>
>> f951: warning: command line option "-Wformat" is valid for C/C++/ObjC/ObjC++ but not for Fortran
>> f951: warning: command line option "-Wformat-security" is valid for C/C++/ObjC/ObjC++ but not for Fortran
>>
>> whenc compling any code with gfortran. This causes the gfortran testsuite
>> in gcc-4.2 to fail any test for compilation errors. Can we get this fixed
>> before the llvm 2.5 release?
>>           Jack
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 




More information about the llvm-dev mailing list