Opened 16 years ago

Closed 15 years ago

#813 closed Bugs (fixed)

concept_check.hpp unused variable warning — at Version 2

Reported by: slyilmaz Owned by: jsiek
Milestone: Component: concept_check
Version: None Severity: Problem
Keywords: Cc:

Description (last modified by John Maddock)

In file boost/concept_check.hpp (line 154 in CVS version 1.42), in member void BOOST_concept(Assignable,(TT))::const_constraints(const TT& b) argument b is unused in some compilers.
Can you please change it as 

#if !defined(_ITERATOR_) 
      a = b;             
#else
ignore_unused_variable_warning(b);
#endif


Change History (2)

comment:1 by Daryle Walker, 15 years ago

Component: Noneconcept_check
Severity: Problem

comment:2 by John Maddock, 15 years ago

Description: modified (diff)
Resolution: Nonefixed
Status: assignedclosed

This appears to have been fixed.

John Maddock

Note: See TracTickets for help on using tickets.