This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31613] New: Meaningless error messages
- From: "agbrowne at btinternet dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Apr 2007 22:53:16 -0000
- Subject: [Bug c/31613] New: Meaningless error messages
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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