Opened 8 years ago

Closed 8 years ago

#10679 closed Bugs (fixed)

Unused parameter warnings in BOOST_FUSION_DEFINE_STRUCT_INLINE

Reported by: anonymous Owned by: Joel de Guzman
Milestone: To Be Determined Component: fusion
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Expanding the BOOST_FUSION_DEFINE_STRUCT_INLINE macro leads to unused parameter warnings about 'it1' and 'it2', even when the boost include path is marked with -isystem.

The attached patch should avoid the warning.

Attachments (1)

boost-fusion-define-struct-inline-avoid-unused-parameter-warning.patch (1.3 KB ) - added by anonymous 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Joel de Guzman, 8 years ago

Could you do a pull request here instead? https://github.com/boostorg/fusion/tree/develop

comment:2 by Joel de Guzman, 8 years ago

Thanks!

comment:3 by anonymous, 8 years ago

Done.

comment:4 by Kohei Takahashi <flast@…>, 8 years ago

I believe that had done by ttps://github.com/boostorg/fusion/pull/22 . We can close this ticket.

comment:5 by Joel de Guzman, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.