This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to implement this ?


On 01/07/2013 05:57 AM, horseriver wrote:
>    gcc can translate "  ((a==0)?b:c)=8 " into if-else sentence   
> 
>    is my idea ,not a reported error

Oh, you mean why does C not allow ((a==0)?b:c)=8;

You'd have to ask the C standard committee.  It's not something
that the language allows.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]