This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: "format not a string literal"


  In message <199910141718.NAA24590@mescaline.gnu.org>you write:
  > However, I think that if a compiler cannot feasibly check the code, it
  > is not a reason good enough for it to issue a warning.  Warnings should,
  > IMHO, be issued only when the compiler *can* analyze the code and the
  > analysis shows that it is buggy or dubious.
In that case you might as well throw away the code for uninitialized variables,
unreachable code, and a variety of others.

Most warnings are not and will not be 100% accurate.  You are free to ignore
them if they're not of interest to you.

As far as I'm concerned the new warning will stay, but we need an option to 
turn it off.

jeff



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]