Opened 9 years ago

Closed 9 years ago

#8847 closed Bugs (duplicate)

[PATCH] Uses of BOOST_CONCEPT_ASSERT_FN warn with recent GCC

Reported by: pmachata@… Owned by: acharles
Milestone: To Be Determined Component: concept_check
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

This is related to #7242 (GCC 4.8 warns unused local typedef). The cause and solution are the same as there. I wonder whether it would be appropriate to just use the BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE from Boost.StaticAssert. The header file is fairly small and doesn't appear to have external dependencies (apart from the really core stuff), and the intention is identical to what we need in Boost.ConceptCheck. Anyway, that's what I implemented here.

Attachments (1)

boost-1.54.0-concept-unused_typedef.patch (883 bytes ) - added by pmachata@… 9 years ago.
A fix

Download all attachments as: .zip

Change History (4)

by pmachata@…, 9 years ago

A fix

comment:1 by pmachata@…, 9 years ago

(To verify the patch I ran Boost.Range test suite, as there's nothing directly for Boost.ConceptCheck. That passed.)

comment:2 by acharles, 9 years ago

Owner: changed from jsiek to acharles
Status: newassigned

comment:3 by acharles, 9 years ago

Resolution: duplicate
Status: assignedclosed

Duplicate of #9415

Note: See TracTickets for help on using tickets.