Re: [Boost-bugs] [Boost C++ Libraries] #10535: Multiply Defined Symbols in serialization/wserialization

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10535: Multiply Defined Symbols in serialization/wserialization
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-26 17:38:20


#10535: Multiply Defined Symbols in serialization/wserialization
-----------------------------------------------+---------------------------
  Reporter: Isaac Lascasas <isaaclascasas@…> | Owner: ramey
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.54.0 | Severity: Regression
Resolution: | Keywords:
-----------------------------------------------+---------------------------

Comment (by ramey):

 {{{
 namespace detail {
     template<class CharType>
     bool is_whitespace(CharType c);

     template<>
     bool is_whitespace(char t){
         return 0 != std::isspace(t);
     }

     #ifndef BOOST_NO_CWCHAR
     template<>
     bool is_whitespace(wchar_t t){
         return 0 != std::iswspace(t);
     }
     #endif
 } // detail
 }}}

 This is what my code in *.ipp already looks like - I don't understand the
 proposed change in *.cpp - doesn't look like the correct fix to me.

 It seems to me that the symptom is multiply defined symbols in
 basic_text_iprimitive.ipp. Since this is old code - I'm guessing that the
 newer linker/managed code, etc is pickier. Even though the functions are
 inline - it looks like they are being linked with external linkage - I'll
 consider this.

 Robert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10535#comment:1>
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:17 UTC