Opened 11 years ago

Closed 11 years ago

#6023 closed Bugs (fixed)

Problem with tuples when using Visual Studio 2010 with _HAS_CPP0X=0

Reported by: Etienne Monette <etienne.monette@…> Owned by: John Maddock
Milestone: To Be Determined Component: config
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

When doing so, you get this error:

C:\extras_vc10\include\boost/math/tools/tuple.hpp(18) : error C2039: 'tuple' : is not a member of 'std'

There is a problem with this header: boost/config/stdlib/dinkumware.hpp. It tests _HAS_TR1_IMPORTS only not to be defined, but in fact, it may be defined with value 0 and have the same effect: tr1::tuple will not be injected in std namespace.

I attached a fix.

Attachments (1)

boost_config_stdlib_dinkumware.hpp.patch (403 bytes ) - added by Etienne Monette <etienne.monette@…> 11 years ago.

Download all attachments as: .zip

Change History (2)

by Etienne Monette <etienne.monette@…>, 11 years ago

comment:1 by John Maddock, 11 years ago

Resolution: fixed
Status: newclosed

(In [76134]) Fix how _HAS_TR1_IMPORTS is tested. Fixes #6023.

Note: See TracTickets for help on using tickets.