https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94550

            Bug ID: 94550
           Summary: False positive with -Wparentheses
           Product: gcc
           Version: 9.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: icegood1980 at gmail dot com
  Target Milestone: ---

Compiler warns with 
-Werror=parentheses


for valid boost code in mpl:

template< typename Pred >
failed ************ (Pred::************ 
      assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
    );

template< typename Pred >
failed ************ (boost::mpl::not_<Pred>::************ 
      assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type
)
    );

Reply via email to