This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Is this a bug in gcc??
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Name lastlong <brew_pt at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 01 Dec 2004 13:35:40 +0000
- Subject: Re: Is this a bug in gcc??
- Organization: Codesourcery LLC
- References: <20041201115516.5861.qmail@web53208.mail.yahoo.com>
Name lastlong wrote:
Ok agreed!
But don't you think that C compiler (gcc) also output
this error?
if it did that, it would not be a C compiler. What part
of 'gcc is a C compiler, where the above is not an error'
was unclear?
My observation is gcc outputs error only if we try to
initialise both instant of "a".
again, correct. doing that is an error in C
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk