Opened 13 years ago

Closed 13 years ago

#3023 closed Bugs (fixed)

[minmax] regression test failures with GCC 4 in C++0x mode

Reported by: Richard Webb <richard.webb@…> Owned by: No-Maintainer
Milestone: Boost 1.40.0 Component: utility
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

When you run the minmax regression tests in GCC 4.4 in C++0x mode, you get some failures due to ambiguities between boost::minmax and std::minmax (e.g. http://tinyurl.com/qn7g53)

Qualifying the calls to minmax with boost:: allows the tests to pass.

Attachments (1)

minmax.patch (1.3 KB ) - added by Richard Webb <richard.webb@…> 13 years ago.

Download all attachments as: .zip

Change History (2)

by Richard Webb <richard.webb@…>, 13 years ago

Attachment: minmax.patch added

comment:1 by Steven Watanabe, 13 years ago

Resolution: fixed
Status: newclosed

(In [53062]) Qualify minmax with boost:: to avoid ambiguity with std::minmax. Fixes #3023

Note: See TracTickets for help on using tickets.