public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/56724] sub-optimal location in error
Date: Mon, 25 Mar 2013 18:45:00 -0000	[thread overview]
Message-ID: <bug-56724-4-daVkCPq28o@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-56724-4@http.gcc.gnu.org/bugzilla/>


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-03-25 18:45:24 UTC ---
(In reply to comment #0)
> t.c: In function ‘docall’:
> t.c:8:3: warning: passing argument 3 of ‘callf’ from incompatible pointer type
> [enabled by default]

> If you have many parameters, it can be hard to find the right one.

Though it does say the 3rd argument though.
>From gcc-bugs-return-418379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 25 18:46:53 2013
Return-Path: <gcc-bugs-return-418379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6588 invoked by alias); 25 Mar 2013 18:46:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6509 invoked by uid 48); 25 Mar 2013 18:46:46 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/56723] wrong location in error message
Date: Mon, 25 Mar 2013 18:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: Status Last reconfirmed Ever Confirmed
Message-ID: <bug-56723-4-624eIPQw7g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56723-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56723-4@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-03/txt/msg01820.txt.bz2
Content-length: 736


http://gcc.gnu.org/bugzilla/show_bug.cgi?idV723

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-03-25
     Ever Confirmed|0                           |1

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-03-25 18:46:46 UTC ---
Unfortunately, only by chance "slightly": AFAICS the column is at the closing
round bracket. Compare:

int f (int *);

int callf (int (*)(double *), int, int);

int docall(void)
{
  return callf (f, 23, 72);
}


       reply	other threads:[~2013-03-25 18:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-56724-4@http.gcc.gnu.org/bugzilla/>
2013-03-25 18:45 ` pinskia at gcc dot gnu.org [this message]
2013-03-25 18:46 ` tromey at gcc dot gnu.org
2014-03-26  7:25 ` mpolacek at gcc dot gnu.org
2014-05-15 15:50 ` tromey at gcc dot gnu.org
2014-05-15 15:59 ` tromey at gcc dot gnu.org
2014-05-16 18:53 ` manu at gcc dot gnu.org
2014-05-19 18:47 ` mpolacek at gcc dot gnu.org
2014-05-25 15:40 ` mpolacek at gcc dot gnu.org
2014-05-27 20:15 ` mpolacek at gcc dot gnu.org
2014-06-05  3:09 ` tromey at gcc dot gnu.org
2014-06-05  5:41 ` mpolacek at gcc dot gnu.org
2014-06-05  9:35 ` mpolacek at gcc dot gnu.org
2014-09-11 14:36 ` mpolacek at gcc dot gnu.org
2015-04-22 12:01 ` jakub at gcc dot gnu.org
2015-07-16  9:15 ` rguenth at gcc dot gnu.org

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=bug-56724-4-daVkCPq28o@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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: link
Be 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).