This is the mail archive of the gcc-patches@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: PATCH RFA: C++: Omit incorrect "no effect" warnings


On 06/17/2009 01:25 PM, Ian Lance Taylor wrote:
In the C++ frontend, code like this:

b ? f1(), 0 : 0;

gets a warning "right-hand operand of comma has no effect".  As
described in

You mean "third operand of conditional"?


The patch is OK.

Jason


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