This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Typedef redeclaration -> Warning only ?
- From: John Love-Jensen <eljay at adobe dot com>
- To: <nico dot joyard at free dot fr>
- Cc: MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Wed, 22 Feb 2006 08:47:23 -0600
- Subject: Re: Typedef redeclaration -> Warning only ?
Hi Nicolas,
>Isn't there an other way to disable these errors ?
If you disable the errors, you fail to "keep it pure C".
My strong recommendation is to fix the errors. Do not try to sweep them
under the rug by changing the language to "something that is very similar to
C, but is not C". (That is to say, I discourage you making your own C-like
language just to patch some bad programming habits.)
Sincerely,
--Eljay