[Bug translation/52984] New: Different information message in Turkish locale.
yasar11732 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Apr 14 04:27:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52984
Bug #: 52984
Summary: Different information message in Turkish locale.
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: translation
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: yasar11732@gmail.com
I am getting different error messages on Turkish locale, for example, given
this header:
(dummy.h)
=========================
char *dummy(const char *);
=========================
and this c file
(dummy.c)
======================
#include "dummy.h"
char dummy(char *arg) {
return 'a';
}
int main(int argc, const char *argv[])
{
return 0;
}
=====================
Issuing `gcc dummy.c` gives this output on Turkish locale:
dummy.c:2:6: hata: 'dummy' için çelişen türler
dummy.c:2:1: bilgi: 'dummy''nin önceki bildirimi buradaydı
But issuing `LC_ALL=C gcc dummy.c` gives this output
dummy.c:2:6: error: conflicting types for 'dummy'
dummy.h:2:7: note: previous declaration of 'dummy' was here
As you can see, in Turkish locale, it reports that previous declaration was on
the same line, while in C locale, it correctly reports where was the previous
declaration.
More information about the Gcc-bugs
mailing list