This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: format string is not a string literal
- From: Jack Howarth <howarth dot mailing dot lists at gmail dot com>
- To: Paul_Koning at dell dot com
- Cc: gdb at sourceware dot org
- Date: Wed, 25 Feb 2015 18:21:43 -0500
- Subject: Re: format string is not a string literal
- Authentication-results: sourceware.org; auth=none
- References: <CADtEn-1ZT1uznxPzQxr_nBQya1AVrNLyE+ZSDmm2x_ux8qyzUQ at mail dot gmail dot com> <0AB56024-875B-4724-8ED2-A9DDB237CBFF at dell dot com>
Paul,
The clang developers disagree...
http://llvm.org/bugs/show_bug.cgi?id=22701#c3
Jack
On Tue, Feb 24, 2015 at 1:09 PM, <Paul_Koning@dell.com> wrote:
>
>> On Feb 24, 2015, at 12:13 PM, Jack Howarth <howarth.mailing.lists@gmail.com> wrote:
>>
>> Building gdb 7.9 on x86_64-apple-darwin14 produces a number of
>> warnings from -Wformat-nonliteral...
>
> Sounds like itâs time to turn off that warning, since the code is legit.
>
> paul