Opened 9 years ago

Closed 9 years ago

#8723 closed Bugs (duplicate)

[CONCEPT_CHECK] GCC 4.8 warns unused local typedef

Reported by: chris5287@… Owned by: jsiek
Milestone: Boost 1.54.0 Component: concept_check
Version: Boost Development Trunk Severity: Not Applicable
Keywords: Cc:

Description

GCC 4.8+ warns unused local typedef...

./boost/concept/detail/general.hpp:71:20: warning: typedef boost_concept_check173 locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)

Could we suppress the warning by append '__attribute__((unused))'

./boost/concept/detail/general.hpp:71
      BOOST_PP_CAT(boost_concept_check,__LINE__) __attribute__((unused));

Change History (2)

comment:1 by chris5287@…, 9 years ago

Severity: ProblemNot Applicable

Opps! Should have tried to make a patch for this before submitting the ticket. It appears this was already fixed in r84470. I was using the 1.54.0 beta which does not include this changeset.

Not sure how to close/remove this ticket :(

comment:2 by viboes, 9 years ago

Resolution: duplicate
Status: newclosed

Duplicate #8546 GCC 4.8 warns unused local typedef

Note: See TracTickets for help on using tickets.