public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/49973] New: Column numbers count special characters as multiple columns
@ 2011-08-04 10:21 timothy003 at msn dot com
  2011-08-04 10:28 ` [Bug c++/49973] " jakub at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: timothy003 at msn dot com @ 2011-08-04 10:21 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Column numbers count special characters as multiple
                    columns
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: timothy003@msn.com


int main()
{
    /* 中 */ asdf;
}

g++ -finput-charset=utf8 hello.cpp

hello.cpp: In function ‘int main()’:
hello.cpp:3:12: error: ‘asdf’ was not declared in this scope

The column number should be 10, not 12.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-07-14 18:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-04 10:21 [Bug c++/49973] New: Column numbers count special characters as multiple columns timothy003 at msn dot com
2011-08-04 10:28 ` [Bug c++/49973] " jakub at gcc dot gnu.org
2011-08-04 10:37 ` timothy003 at msn dot com
2011-08-04 10:56 ` schwab@linux-m68k.org
2011-08-04 11:03 ` timothy003 at msn dot com
2011-08-04 12:18 ` manu at gcc dot gnu.org
2011-08-04 14:39 ` joseph at codesourcery dot com
2011-08-04 15:19 ` manu at gcc dot gnu.org
2011-08-04 19:53 ` timothy003 at msn dot com
2011-12-07 18:01 ` [Bug preprocessor/49973] " tromey at gcc dot gnu.org
2011-12-07 20:56 ` joseph at codesourcery dot com
2020-07-14 16:30 ` [Bug preprocessor/49973] Column numbers count multibyte " cvs-commit at gcc dot gnu.org
2020-07-14 16:40 ` lhyatt at gmail dot com
2020-07-14 18:04 ` manu at gcc dot gnu.org

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).