From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15576 invoked by alias); 24 Feb 2003 17:46:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 15558 invoked by uid 71); 24 Feb 2003 17:46:00 -0000 Date: Mon, 24 Feb 2003 17:46:00 -0000 Message-ID: <20030224174600.15557.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Joseph S. Myers" Subject: Re: c++/9367: [3.3/3.4 regression] error: nonnull argument with extern "C" snprintf prototype Reply-To: "Joseph S. Myers" X-SW-Source: 2003-02/txt/msg01271.txt.bz2 List-Id: The following reply was made to PR c++/9367; it has been noted by GNATS. From: "Joseph S. Myers" To: Janis Johnson Cc: , , Subject: Re: c++/9367: [3.3/3.4 regression] error: nonnull argument with extern "C" snprintf prototype Date: Mon, 24 Feb 2003 17:43:51 +0000 (GMT) On Mon, 24 Feb 2003, Janis Johnson wrote: > The regression showed up with this patch: > > 2002-05-23 Jason Thorpe > > * builtin-attrs.def: Update copyright years. > (ATTR_NONNULL): New attribute identifier. > (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New > attribute tree lists. > (DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the > format operand. > (ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use... > (DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg > attribute lists. Chain the appropriate nonnull attribute. > * c-format.c (check_format_arg): Remove null format string > warning. And note my comment when this problem was mentioned on the gcc list about where to look for a fix. http://gcc.gnu.org/ml/gcc/2003-01/msg00882.html -- Joseph S. Myers jsm28@cam.ac.uk