Re: Is this a bug in gcc??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eljay Love-Jensen,

Thanks a lot for ur reply. 
I understand it this time. :)

Regards,
Brew.

--- Eljay Love-Jensen <eljay@xxxxxxxxx> wrote:

> Hi Name lastlong,
> 
>  >But don't you think that C compiler (gcc) also
> output this error?
> 
> It's not an error in C, therefore a C compiler would
> be non-compliant to 
> the C standard if it produced an error.  (And it
> would break a lot of 
> correct code.)
> 
>  >My observation is gcc outputs error only if we try
> to initialise both 
> instant of "a".
> 
> In C, there is only one instance of "a".
> 
> Stroustrup talks about C/C++ incompatibility in his
> C++ Programming 
> Language (3rd and Special editions) on B.2.2.
> 
> HTH,
> --Eljay
> 
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux