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/31613] New: Meaningless error messages


Almost all error and warning messages consist of just one character --  â (A
cicumflex)

This can be produced by the sample source file listed below:-

int main()
{
  int variable;
}

Compiled with:-

% gcc -Wall file.c

Gives the output:-

test.c: In function â:
test.c:3: warning: unused variable â
test.c:4: warning: control reaches end of non-void function

The program compiles OK though

I would expect the output to read:-

test.c: In function main:
test.c:3: warning: unused variable variable
test.c:4: warning: control reaches end of non-void function

This bug is stopping me using gcc properly


-- 
           Summary: Meaningless error messages
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: agbrowne at btinternet dot com
 GCC build triplet: gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)
  GCC host triplet: Linux  2.6.19-1.2895.fc6
GCC target triplet: Linux  2.6.19-1.2895.fc6


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


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