[Bug c/31613] New: Meaningless error messages

2007-04-17 Thread agbrowne at btinternet dot com
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



[Bug c/31613] Meaningless error messages

2007-04-17 Thread agbrowne at btinternet dot com


--- Comment #1 from agbrowne at btinternet dot com  2007-04-17 23:56 ---
I am using the standard Fedora Core 6 build with the gcc compiler supplied as
part of the dist


-- 

agbrowne at btinternet dot com changed:

   What|Removed |Added

 CC||agbrowne at btinternet dot
   ||com


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



[Bug c/31613] Meaningless error messages

2007-04-17 Thread agbrowne at btinternet dot com


--- Comment #2 from agbrowne at btinternet dot com  2007-04-18 00:09 ---
This is associated with the UTF-8 problem in bug no: 21612


-- 

agbrowne at btinternet dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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