Opened 9 years ago
Closed 8 years ago
#9416 closed Bugs (fixed)
bcp mangles thread's at_thread_exit symbols with --namespace switch
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | bcp |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
For example:
bcp --namespace=MyBoost thread /path/to/MyBoost grep -r MyBoostat_thread /path/to/MyBoost/ /tmp/MyBoost/boost/thread/pthread/thread_data.hpp: virtual void notify_all_MyBoostat_thread_exit(condition_variable* cv, mutex* m) /tmp/MyBoost/boost/thread/pthread/thread_data.hpp: void make_ready_MyBoostat_thread_exit(shared_ptr<shared_state_base> as) /tmp/MyBoost/boost/thread/pthread/condition_variable_fwd.hpp: BOOST_THREAD_DECL void notify_all_MyBoostat_thread_exit(condition_variable& cond, unique_lock<mutex> lk); /tmp/MyBoost/boost/thread/win32/thread_data.hpp: virtual void notify_all_MyBoostat_thread_exit(condition_variable* cv, mutex* m) /tmp/MyBoost/boost/thread/win32/thread_data.hpp: void make_ready_MyBoostat_thread_exit(shared_ptr<shared_state_base> as) /tmp/MyBoost/boost/thread/win32/condition_variable.hpp: BOOST_THREAD_DECL void notify_all_MyBoostat_thread_exit(condition_variable& cond, unique_lock<mutex> lk); /tmp/MyBoost/boost/thread/detail/thread.hpp: inline void make_ready_MyBoostat_thread_exit(shared_ptr<shared_state_base> as) /tmp/MyBoost/boost/thread/detail/thread.hpp: current_thread_data->make_ready_MyBoostat_thread_exit(as); /tmp/MyBoost/boost/thread/detail/thread.hpp: void BOOST_THREAD_DECL make_ready_MyBoostat_thread_exit(shared_ptr<shared_state_base> as); /tmp/MyBoost/boost/thread/detail/thread.hpp: void MyBoostat_thread_exit(F f) /tmp/MyBoost/boost/thread/future.hpp: void set_interrupted_MyBoostat_thread_exit() /tmp/MyBoost/boost/thread/future.hpp: detail::make_ready_MyBoostat_thread_exit(shared_from_this()); /tmp/MyBoost/boost/thread/future.hpp: void set_exception_MyBoostat_thread_exit(exception_ptr e) /tmp/MyBoost/boost/thread/future.hpp: detail::make_ready_MyBoostat_thread_exit(shared_from_this()); /tmp/MyBoost/boost/thread/future.hpp: //void set_value_MyBoostat_thread_exit(const T & result_) /tmp/MyBoost/boost/thread/future.hpp: void set_value_MyBoostat_thread_exit(source_reference_type result_) /tmp/MyBoost/boost/thread/future.hpp: detail::make_ready_MyBoostat_thread_exit(shared_from_this()); <snip>
Which I guess isn't intended, presumably due to the regex with "at_thread_exit" in copy_path.cpp.
Regards
Luke Elliott.
Note:
See TracTickets
for help on using tickets.
This should now be fixed in https://github.com/boostorg/bcp/commit/4e7b25e85a6d4154191d79663275f6cb603726ec