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: jnsagr01 <nico dot joyard at free dot fr>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Tue, 21 Feb 2006 08:44:18 -0600
- Subject: Re: Typedef redeclaration -> Warning only ?
Hi Nicolas,
C++ allows that.
C does not.
Can you use C++ and g++ instead of C and gcc?
Sincerely,
--Eljay
On 2/21/06 3:40 AM, "jnsagr01" <nico.joyard@free.fr> wrote:
>
> Hi
>
> I wonder if there is an option for GCC to have multiple (and identical)
> typedef declarations only issue a warning instead of an error... I searched
> through the info-pages as on various forums/mailing lists but I didn't find
> any answer.
> Do you know if such an option exists ?
>
> Thanks
>
> Nicolas
> --
> View this message in context:
> http://www.nabble.com/Typedef-redeclaration--%3E-Warning-only--t1160845.html#a
> 3046880
> Sent from the gcc - Help forum at Nabble.com.
>