* State of old format warning patch for Mac OS X @ 2008-07-14 22:39 Stan Shebs 2008-07-14 23:00 ` Daniel Jacobowitz 0 siblings, 1 reply; 7+ messages in thread From: Stan Shebs @ 2008-07-14 22:39 UTC (permalink / raw) To: gdb-patches Whatever happened with Muranaka's patch in http://sourceware.org/ml/gdb-patches/2007-02/msg00160.html to fix the "format not a string literal" warnings on Mac OS X? I've been getting those complaints from vec.h expansions, this patch shuts them off very nicely. Stan ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: State of old format warning patch for Mac OS X 2008-07-14 22:39 State of old format warning patch for Mac OS X Stan Shebs @ 2008-07-14 23:00 ` Daniel Jacobowitz 2008-07-23 12:35 ` Masaki Muranaka 0 siblings, 1 reply; 7+ messages in thread From: Daniel Jacobowitz @ 2008-07-14 23:00 UTC (permalink / raw) To: Stan Shebs; +Cc: gdb-patches On Mon, Jul 14, 2008 at 03:38:35PM -0700, Stan Shebs wrote: > Whatever happened with Muranaka's patch in > http://sourceware.org/ml/gdb-patches/2007-02/msg00160.html to fix the > "format not a string literal" warnings on Mac OS X? I've been getting > those complaints from vec.h expansions, this patch shuts them off very > nicely. Nothing past the response in the list archives, AFAIK. -- Daniel Jacobowitz CodeSourcery ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: State of old format warning patch for Mac OS X 2008-07-14 23:00 ` Daniel Jacobowitz @ 2008-07-23 12:35 ` Masaki Muranaka 2008-07-23 15:25 ` Stan Shebs 0 siblings, 1 reply; 7+ messages in thread From: Masaki Muranaka @ 2008-07-23 12:35 UTC (permalink / raw) To: gdb-patches; +Cc: Stan Shebs, Daniel Jacobowitz Hello, I guess GCC team have no interest in this issue as GCC is not built on OSX host. (Usually OSX hackers use GCC provided by Apple.) Then... what should I do to accept my patch. On 2008/07/15, at 8:00, Daniel Jacobowitz wrote: > On Mon, Jul 14, 2008 at 03:38:35PM -0700, Stan Shebs wrote: >> Whatever happened with Muranaka's patch in >> http://sourceware.org/ml/gdb-patches/2007-02/msg00160.html to fix the >> "format not a string literal" warnings on Mac OS X? I've been getting >> those complaints from vec.h expansions, this patch shuts them off >> very >> nicely. > > Nothing past the response in the list archives, AFAIK. > > -- > Daniel Jacobowitz > CodeSourcery > Masaki Muranaka Monami Software ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: State of old format warning patch for Mac OS X 2008-07-23 12:35 ` Masaki Muranaka @ 2008-07-23 15:25 ` Stan Shebs 2008-07-23 15:40 ` Daniel Jacobowitz 0 siblings, 1 reply; 7+ messages in thread From: Stan Shebs @ 2008-07-23 15:25 UTC (permalink / raw) To: Masaki Muranaka; +Cc: gdb-patches, Daniel Jacobowitz Masaki Muranaka wrote: > Hello, > > I guess GCC team have no interest in this issue as GCC is not built on > OSX host. > (Usually OSX hackers use GCC provided by Apple.) > > Then... what should I do to accept my patch. I build GCC on OS X regularly, and don't remember seeing this warning, so maybe nothing in GCC sources triggers it. In any case, as src/intl/README says, this is a gettext patch ultimately and needs to go to them. But since I see that it has been years since gettext has been imported, I'd say to just install this patch into src/ now - it's just a one-liner and if by some chance it gets missed in a hypothetical future import, it's easy to re-add. I'm guessing you don't have commit access? so I'll take care of it. Stan > > On 2008/07/15, at 8:00, Daniel Jacobowitz wrote: > >> On Mon, Jul 14, 2008 at 03:38:35PM -0700, Stan Shebs wrote: >>> Whatever happened with Muranaka's patch in >>> http://sourceware.org/ml/gdb-patches/2007-02/msg00160.html to fix the >>> "format not a string literal" warnings on Mac OS X? I've been getting >>> those complaints from vec.h expansions, this patch shuts them off very >>> nicely. >> >> Nothing past the response in the list archives, AFAIK. >> >> -- >> Daniel Jacobowitz >> CodeSourcery >> > > Masaki Muranaka > Monami Software > > > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: State of old format warning patch for Mac OS X 2008-07-23 15:25 ` Stan Shebs @ 2008-07-23 15:40 ` Daniel Jacobowitz 2008-12-14 5:03 ` Masaki Muranaka 0 siblings, 1 reply; 7+ messages in thread From: Daniel Jacobowitz @ 2008-07-23 15:40 UTC (permalink / raw) To: Stan Shebs; +Cc: Masaki Muranaka, gdb-patches On Wed, Jul 23, 2008 at 08:24:19AM -0700, Stan Shebs wrote: > But since I see that it has been years since gettext has been imported, > I'd say to just install this patch into src/ now - it's just a one-liner > and if by some chance it gets missed in a hypothetical future import, > it's easy to re-add. I'm guessing you don't have commit access? so I'll > take care of it. Please check whether intl is currently in sync between gcc and src first; if so (I think it is), it needs to go to gcc first. -- Daniel Jacobowitz CodeSourcery ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: State of old format warning patch for Mac OS X 2008-07-23 15:40 ` Daniel Jacobowitz @ 2008-12-14 5:03 ` Masaki Muranaka 2008-12-17 15:48 ` Ian Lance Taylor 0 siblings, 1 reply; 7+ messages in thread From: Masaki Muranaka @ 2008-12-14 5:03 UTC (permalink / raw) To: Daniel Jacobowitz; +Cc: Stan Shebs, gdb-patches, gcc-patches Hello, // For GCC hackers, // This issue is described at gdb-patches ML. // Related mail is: // http://sourceware.org/ml/gdb-patches/2008-07/msg00418.html Today I inspected this issue again. I think intl libraries and dependent sources are synchronized between gcc and src. The direct reason of this issue is caused by -Wmissing-format-attribute. For example, gcc/collect2.o will failed to build after you add -Wmissing-format-attribute in gcc/Makefile same as gdb/Makefile. An easiest fix is removing -Wmissing-format-attribute from gdb/Makefile But I don't like removing warning detections. I think libgnuintl.h will be patched. How do you think, Daniel and GCC hackers? On 2008/07/24, at 0:40, Daniel Jacobowitz wrote: > On Wed, Jul 23, 2008 at 08:24:19AM -0700, Stan Shebs wrote: >> But since I see that it has been years since gettext has been imported, >> I'd say to just install this patch into src/ now - it's just a one-liner >> and if by some chance it gets missed in a hypothetical future import, >> it's easy to re-add. I'm guessing you don't have commit access? so I'll >> take care of it. > > Please check whether intl is currently in sync between gcc and src > first; if so (I think it is), it needs to go to gcc first. > > -- > Daniel Jacobowitz > CodeSourcery > Masaki Muranaka Monami Software ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: State of old format warning patch for Mac OS X 2008-12-14 5:03 ` Masaki Muranaka @ 2008-12-17 15:48 ` Ian Lance Taylor 0 siblings, 0 replies; 7+ messages in thread From: Ian Lance Taylor @ 2008-12-17 15:48 UTC (permalink / raw) To: Masaki Muranaka; +Cc: Daniel Jacobowitz, Stan Shebs, gdb-patches, gcc-patches Masaki Muranaka <monaka@monami-software.com> writes: > An easiest fix is removing -Wmissing-format-attribute from gdb/Makefile > But I don't like removing warning detections. I think libgnuintl.h will be patched. > How do you think, Daniel and GCC hackers? I agree that the intl library should be patched. Ian ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-12-17 15:48 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-07-14 22:39 State of old format warning patch for Mac OS X Stan Shebs 2008-07-14 23:00 ` Daniel Jacobowitz 2008-07-23 12:35 ` Masaki Muranaka 2008-07-23 15:25 ` Stan Shebs 2008-07-23 15:40 ` Daniel Jacobowitz 2008-12-14 5:03 ` Masaki Muranaka 2008-12-17 15:48 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox