Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2000 08:04:09 -0800 (PST)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Kris Kennaway <kris@FreeBSD.ORG>
Cc:        audit@FreeBSD.ORG
Subject:   Re: gcc __attributes for format strings
Message-ID:  <200011271604.eARG49V29464@troutmask.apl.washington.edu>
In-Reply-To: <20001126222048.A46809@citusc17.usc.edu> from Kris Kennaway at "Nov 26, 2000 10:20:48 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:
> Okay, looks like we can play with some gcc attributes to flag things
> as format strings. For example:
> 

[snip]

> We need to go through and prototype functions appropriately (in
> headers, or internally) - I think it's possible to fix all of the
> -Wnon-const-format warnings this way.

Are gcc attributes C89 or C99 features?  If not, you probably
want to ask bde about sprinkling gcc only features throughout
the header files. 

-- 
Steve


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011271604.eARG49V29464>