Opened 12 years ago

Closed 12 years ago

#4331 closed Patches (invalid)

Fix for MSVC 10 to assume that C-runtime libs are not in the std namespace

Reported by: Dean Michael Berris Owned by: John Maddock
Milestone: Boost 1.44.0 Component: config
Version: Boost Development Trunk Severity: Problem
Keywords: date_time token_functions patch Cc:

Description

This patch fixes the cause for failure in building the Date_Time library which depends on boost/token_functions.hpp -- in Boost.Date_Time there is a call to std::iswspace, which unfortunately is not defined in MSVC. The patch enables BOOST_NO_STDC_NAMESPACE for MSVC 10.

Attachments (1)

boost-config-msvc10-nostdc-namespace.diff (350 bytes ) - added by Dean Michael Berris 12 years ago.
Patch to enable BOOST_NO_STDC_NAMESPACE for MSVC 10

Download all attachments as: .zip

Change History (2)

by Dean Michael Berris, 12 years ago

Patch to enable BOOST_NO_STDC_NAMESPACE for MSVC 10

comment:1 by John Maddock, 12 years ago

Resolution: invalid
Status: newclosed

I believe this to be mistaken - searching the Trunk I find no uses of iswspace in either date_time or token_functions.hpp, and in any case VC10 does define this in namespace std (provided the correct header <cwctype> is included).

Note: See TracTickets for help on using tickets.