public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: levon@movementarian.org To: gcc-gnats@gcc.gnu.org Cc: jsm28@cam.ac.uk Subject: c++/9367: error: nonnull argument with extern "C" snprintf prototype Date: Sun, 19 Jan 2003 17:46:00 -0000 [thread overview] Message-ID: <20030119174418.20295.qmail@sources.redhat.com> (raw) >Number: 9367 >Category: c++ >Synopsis: error: nonnull argument with extern "C" snprintf prototype >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Sun Jan 19 17:46:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: levon@movementarian.org >Release: GCC 3.4 CVS Head >Organization: >Environment: Linux lambent 2.4.20 #5 Wed Jan 8 15:33:24 GMT 2003 i686 i686 i386 GNU/Linux >Description: The following code : extern "C" int snprintf(); when compiled with g++ from CVS head, gives : a.c:1: error: nonnull argument with out-of-range operand number (arg 1, operand 3) Joseph Myers : "It appears that handle_nonnull_attribute fails to check for ATTR_FLAG_BUILT_IN in its flags argument. This is used for the built-in format attributes specifically to avoid that problem." >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
reply other threads:[~2003-01-19 17:46 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030119174418.20295.qmail@sources.redhat.com \ --to=levon@movementarian.org \ --cc=gcc-gnats@gcc.gnu.org \ --cc=jsm28@cam.ac.uk \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).