This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH] Fix problem with GCC 4.9.1 in string/tester.c


On Mon, 9 Feb 2015, Carlos O'Donell wrote:

> Do you think the correct fix is to test for the warning at configure time,
> set HAVE_WARN_MEMSET_TRANSPOSED_ARGS in config.h, and then use that to
> conditionalize the DIAG_* statements?

Yes.

> I don't see any other way to have this work.

You could disable -Wpragmas, but I don't think that would be a good idea.

-- 
Joseph S. Myers
joseph@codesourcery.com


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