[LLVMdev] r57326 malfunctions?
Mike Stump
mrs at apple.com
Fri Oct 31 10:50:03 PDT 2008
On Oct 31, 2008, at 9:27 AM, Jack Howarth wrote:
> Looking back through the commits to llvm-gcc-4.2/trunk/gcc/config/
> i386/darwin.h,
> I see a total backout of format related warnings in r56923 followed
> by the reapplication of
> r569065 with a fix (r56946)...
> It would seem obvious that this last patch must not really be
> functional since
> gfortran is being given this formatting flags by default. I think
> this may not
> be obvious for the other compilers since they don't complain if
> these flags
> are present like gfortran does...
>
> 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
> f951: warning: command line option "-Wno-format-extra-args" is valid
> for C/C++/ObjC/ObjC++ but not for Fortran
> f951: warning: command line option "-Wno-format-zero-length" is
> valid for C/C++/ObjC/ObjC++ but not for Fortran
> f951: warning: command line option "-Wno-nonnull" is valid for C/C++/
> ObjC/ObjC++ but not for Fortran
:-( Sounds like someone got it just a bit wrong.
More information about the llvm-dev
mailing list