This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: State of old format warning patch for Mac OS X


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





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