[Boost-bugs] [Boost C++ Libraries] #9438: call of overloaded ‘ignore_unused_variable_warning(...)’ is ambiguous

Subject: [Boost-bugs] [Boost C++ Libraries] #9438: call of overloaded ‘ignore_unused_variable_warning(...)’ is ambiguous
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-27 01:01:25


#9438: call of overloaded ‘ignore_unused_variable_warning(...)’ is ambiguous
-----------------------------------------+------------------------
 Reporter: Thomas Hume <thomas.hume@…> | Owner: neilgroves
     Type: Patches | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-----------------------------------------+------------------------
 Here are two patches that prevent some compilations errors due to
 ambiguous definitions of 'ignore_unused_variable_warning' (defined by both
 boost and lemon) under g++ 4.8.2 (works fine with clang 3.3 though).

 It simply fully qualify the uses of the function by addind the boost::
 namespace specifier before every 'call' in the concept checks.

 Changing only the range concepts gave more errors in the concerpt_check
 library, so patchs for both libraries are provided.

 You'll find as supplementary files the preprocessed source that fail to
 compile with and the error output.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9438>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC