This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49973] New: Column numbers count special characters as multiple columns


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]