Re: [Boost-bugs] [Boost C++ Libraries] #10440: boyer_moore.hpp fails on Linux w/ gcc-4.7.2, OK with Mac clang

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10440: boyer_moore.hpp fails on Linux w/ gcc-4.7.2, OK with Mac clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-02 13:47:20


#10440: boyer_moore.hpp fails on Linux w/ gcc-4.7.2, OK with Mac clang
-------------------------------+-----------------------------------------
  Reporter: boost@… | Owner: marshall
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: algorithm
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords: boyer_moore,linux,gcc-4.7.2
-------------------------------+-----------------------------------------

Comment (by marshall):

 I don't have 4.7.x laying around, but I was able to replicate this with
 4.8.1 and 4.9.1 (both on Mac OS X)

 It appears that gcc is trying to instantiate the two argument version of
 `boyer_moore_search`(line 243), which is failing, and then rather than
 dropping that from the overload set, it is generating an error.

 If I comment out the range based-version (aka the two argument one), then
 your test compiles and runs.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10440#comment:4>
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:16 UTC