Re: Problems with ?: operator

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

 



Sulabh Nangalia <sulabh.nangalia@xxxxxxxxx> writes:

> 5 < 10 ? a = 5 : a = 7;       is giving error
> 15 < 10 ? a = 5 : a = 7;     is not giving any error
>
> why?

Because of a bug in gcc. It's been fixed in 4.0, though.

-- 
	Falk

[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