Boost logo

Boost :

Subject: Re: [boost] bcp update #2: namespace renaming
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-01-01 09:28:33

> Sigh... probably :-(
> Is that a complete list of all the top level
> namespaces? If not, any ideas on how to quickly
> produce one?


Indeed this is a problem, but I also remember that not only namespace are

In some older versions of boost I remember (I think in boot_thread 1.35)
some function had names like:

extern "C" boost_thread_some_callback_functions

Were used, also, if at some point shared object/dll dynamic loading
would be added they may use resolveable points like

extern "C" boost_foobar_resolvable_sybol.

My be added, outside boost namespace in order be loaded with

I suggest different approach I used in my namespace renaming

I had taken each tocken and substituted boost -> newnamespace and

Also I required rename directories as well.
This approach is free from the above error that could happen.

If some symbol would be missed it may cause symbol collapse and
some wired bugs when using 2 versions boost in same program,
shared object.

I would recommend you to take a look on this script. It worked very
fine for me, and it is very simple and generic.



Boost list run by bdawes at, gregod at, cpdaniel at, john at