Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2006-07-26 13:09:49

On 7/26/06, Michael van der Westhuizen <r1mikey_at_[hidden]> wrote:
> Hi Torsten,


> ACE requires you to use multithreading in most cases. I seriously
> doubt that this will be seen as a bug by anybody you've reported to,
> as this is just how ACE works.

I believe it should be reported as a bug to ACE. The ACE library
should emit an error if _REENTRANT is not defined, not define it. As
we can see it can lead to serious ODR violations, with part of the
headers being preprocessed with and without _REENTRANT.

> In this case, sp_counted_base is doing the right thing, as it sees
> that it needs to be threadsafe.
> I would strongly recommend that you ensure that you use the same
> compilation flags and defines to build your software as you did when
> building ACE, otherwise you may just end up with different versions of
> the same class all over the place.


> Michael

best regards,

Felipe Magno de Almeida

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