[Bug c++/94550] New: False positive with -Wparentheses
icegood1980 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Apr 10 15:31:17 GMT 2020
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
)
);
More information about the Gcc-bugs
mailing list