Opened 9 years ago
Last modified 9 years ago
#9438 new Patches
call of overloaded ‘ignore_unused_variable_warning(...)’ is ambiguous
Reported by: | Owned by: | jsiek | |
---|---|---|---|
Milestone: | To Be Determined | Component: | concept_check |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Attachments (4)
Change History (5)
by , 9 years ago
Attachment: | range.patch added |
---|
by , 9 years ago
Attachment: | concept.patch added |
---|
by , 9 years ago
Attachment: | preprocessed.cpp.bz2 added |
---|
by , 9 years ago
Attachment: | compile_error added |
---|
comment:1 by , 9 years ago
Component: | range → concept_check |
---|---|
Owner: | changed from | to
This is patched in Boost.Range and committed to the develop branch. The Boost.Range part of this ticket will be merged into release 1.56.
I have to reassign for the other patch to be applied since I do not have write-access to this library.