Re: [Boost-bugs] [Boost C++ Libraries] #2919: Bcp.exe won't compile

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2919: Bcp.exe won't compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-14 16:05:18


#2919: Bcp.exe won't compile
----------------------------------+-----------------------------------------
  Reporter: seppi2112_at_[hidden] | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: Boost 1.39.0 | Component: regex
   Version: Boost 1.39.0 | Severity: Problem
Resolution: | Keywords: regex
----------------------------------+-----------------------------------------

Comment(by anonymous):

 I found solution for the trouble with LNK2005. This trouble occured if
 file <boost/regex/config.h> has the following declaration at line 169

       extern template class __declspec(dllimport)
 std::basic_string<wchar_t>;

 in place of

       extern template class __declspec(dllimport)
 std::basic_string<unsigned short>;

 This problem doesn't depends whether or not /Zc:wchar_t compiler switch
 defined. Please take this issue for you information.

 alexander.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2919#comment:10>
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:00 UTC