Re: format string is not a string literal

Paul Smith <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <1424980793.824.65.camel@homebase>
On Thu, 2015-02-26 at 18:34 +0000, Pedro Alves wrote:
> Paul, I've improved the comment in vcomplain to clarify
> the solution.  Thanks for poking about that.

Aha thanks; your comment is a little more clear than your email reply; I
was wondering how the compiler could know that the caller's format
string was literal...but from your comment it's clear it just assumes it
if we add proper attributes to vcomplaint().  Spiffy!

Cheers!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.