This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Suppressing specific compiler warnings
- From: Steven Bosscher <stevenb at suse dot de>
- To: "Banibrata Dutta" <dutta at india dot hp dot com>, <gcc at gcc dot gnu dot org>,<llewelly at xmission dot com>
- Cc: "'Ranjit Mathew'" <rmathew at gmail dot com>
- Date: Thu, 27 May 2004 08:44:07 +0200
- Subject: Re: Suppressing specific compiler warnings
- Organization: SUSE Labs
- References: <004501c443a6$73d6ddf0$c0714c0f@nt13192>
On Thursday 27 May 2004 06:52, Banibrata Dutta wrote:
> 2) The way numbers help internationalization is that you could have
> something like:
>
> wchar* warning_message[MAX_LANGS][MAX_WARNINGS];
>
> populated with something like...
>
> warning_message[LANG_EN][UNUSED_VAR] = "Unused variable";
> warning_message[LANG_FR][UNUSED_VAR] = "Variable inutilisée";
> ..
> warning_message[LANG_EN][STMT_NOT_REACHED] = "Statement not reached";
> warning_message[LANG_FR][STMT_NOT_REACHED] = "Rapport non atteint";
> ..
GCC Already already has internationalization, and I have to say,
in a far more elegant way than the above.
Gr.
Steven