Re: [patch] generated string libraries & -Wformat

2007-03-26 Thread Bruce Korb
On 3/26/07, Joseph S. Myers <[EMAIL PROTECTED]> wrote: > > use of -Wformat-contains-nul > > But, you do think the option is useful overall, then, and that Bruce > should proceed with the additional steps you mention? Yes, I think it makes sense in principle (and the existing patch is p

Re: [patch] generated string libraries & -Wformat

2007-03-26 Thread Joseph S. Myers
On Sun, 25 Mar 2007, Mark Mitchell wrote: > Joseph S. Myers wrote: > > On Sat, 24 Mar 2007, Bruce Korb wrote: > > > >> This bootstraps in Linux i686 & I can use -Wno-format-contains-nul to > >> suppress that warning. OK? > > > > This is not a complete patch submission, I await one with document

Re: [patch] generated string libraries & -Wformat

2007-03-25 Thread Mark Mitchell
Joseph S. Myers wrote: > On Sat, 24 Mar 2007, Bruce Korb wrote: > >> This bootstraps in Linux i686 & I can use -Wno-format-contains-nul to >> suppress that warning. OK? > > This is not a complete patch submission, I await one with documentation > and testcases (both for the option disabling the

Re: [patch] generated string libraries & -Wformat

2007-03-24 Thread Joseph S. Myers
On Sat, 24 Mar 2007, Bruce Korb wrote: > This bootstraps in Linux i686 & I can use -Wno-format-contains-nul to > suppress that warning. OK? This is not a complete patch submission, I await one with documentation and testcases (both for the option disabling the diagnostic and for the use of -Wf

Re: [patch] generated string libraries & -Wformat

2007-03-24 Thread Bruce Korb
This bootstraps in Linux i686 & I can use -Wno-format-contains-nul to suppress that warning. OK? Bruce Korb wrote: > Hello, > > I mess around with a lot of generated code. That means I do automated > construction of libraries that use literal strings. In order to > reduce address fixups, I oft