From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5642 invoked by alias); 25 Mar 2013 18:45:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 5611 invoked by uid 48); 25 Mar 2013 18:45:24 -0000 From: "pinskia at gcc dot 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 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: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-03/txt/msg01819.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56724 --- Comment #2 from Andrew Pinski 2013-03-25 1= 8:45:24 UTC --- (In reply to comment #0) > t.c: In function =E2=80=98docall=E2=80=99: > t.c:8:3: warning: passing argument 3 of =E2=80=98callf=E2=80=99 from inco= mpatible 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: 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: List-Archive: List-Post: List-Help: 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" 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: In-Reply-To: References: 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?id=56723 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-03-25 Ever Confirmed|0 |1 --- Comment #1 from Paolo Carlini 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); }