public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tromey at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/31754] Include column number along line in error messages main.cpp:5:38 Date: Fri, 26 Oct 2007 05:36:00 -0000 [thread overview] Message-ID: <20071026053543.7276.qmail@sourceware.org> (raw) In-Reply-To: <bug-31754-13581@http.gcc.gnu.org/bugzilla/> [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 982 bytes --] ------- Comment #1 from tromey at gcc dot gnu dot org 2007-10-26 05:35 ------- Note that even with mapped locations this gives the wrong result. The C++ parser has some column-number bugs. opsy. g++ -Wall -fsyntax-only z.cc z.cc: In function int main(): z.cc:8:61: error: wrong type argument to unary minus Column 61 is the closing paren around the "+" expression. Column 46 would be best. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-10-26 05:35:43 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31754
next prev parent reply other threads:[~2007-10-26 5:36 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-04-29 12:55 [Bug other/31754] New: Include character count " jg at jguk dot org 2007-04-29 15:45 ` [Bug other/31754] Include column number " pinskia at gcc dot gnu dot org 2007-10-26 5:36 ` tromey at gcc dot gnu dot org [this message] 2008-06-16 11:14 ` dseketel at redhat dot com 2008-06-16 11:15 ` dseketel at redhat dot com 2008-06-18 18:25 ` dseketel at redhat dot com 2008-06-18 19:21 ` dseketel at redhat dot com 2008-06-20 9:54 ` dseketel at redhat dot com 2008-06-20 12:05 ` dseketel at redhat dot com 2008-06-26 12:39 ` dseketel at redhat dot com 2008-06-27 21:32 ` dseketel at redhat dot com 2008-06-28 1:00 ` jg at jguk dot org 2008-06-30 17:51 ` dseketel at redhat dot com 2008-06-30 17:53 ` dseketel at redhat dot com 2008-06-30 17:55 ` dseketel at redhat dot com 2008-07-01 16:30 ` dseketel at redhat dot com 2008-07-10 14:38 ` dodji at gcc dot gnu dot org 2008-07-11 12:55 ` dodji at gcc dot gnu dot org 2008-07-11 16:34 ` dodji at gcc dot gnu dot org 2008-07-11 16:36 ` dodji at gcc dot gnu dot org 2008-07-11 16:37 ` dodji at gcc dot gnu dot org 2008-07-11 16:51 ` [Bug c++/31754] Improve column number accuracy in error messages dodji at gcc dot gnu dot org 2008-07-21 16:33 ` manu at gcc dot gnu dot org 2009-08-05 12:10 ` manu at gcc dot gnu dot org 2010-02-22 17:46 ` dodji at gcc dot gnu dot 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=20071026053543.7276.qmail@sourceware.org \ --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: 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).