Opened 13 years ago

Last modified 11 years ago

#3248 new Bugs

xlc warnings in MPL

Reported by: Ioannis Papadopoulos <ipapadop@…> Owned by: Aleksey Gurtovoy
Milestone: Boost 1.40.0 Component: mpl
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc:

Description

xlc 10.1 throws the following warnings when using mpl::set:

"/usr/local/include/boost/mpl/set/aux_/set0.hpp", line 63.6: 1540-0095 (W) The friend function declaration "operator
" will cause an error when the enclosing template class is instantiated with arguments that declare a friend function that does not match an existing definition. The function declares only one function because it is not a template but the function type depends on one or more template parameters.

"/usr/local/include/boost/mpl/set/aux_/set0.hpp", line 64.6: 1540-0095 (W) The friend function declaration "operator%" will cause an error when the enclosing template class is instantiated with arguments that declare a friend function that does not match an existing definition. The function declares only one function because it is not a template but the function type depends on one or more template parameters.

Change History (1)

comment:1 by anonymous, 11 years ago

Same issue with xlC 11.1 on 1.49.0

Note: See TracTickets for help on using tickets.