PATCH RFA: C++: Omit incorrect "no effect" warnings

Jason Merrill jason@redhat.com
Thu Jun 25 16:44:00 GMT 2009


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



More information about the Gcc-patches mailing list