bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch to compile CC++ on Linuxes 2.0.x


From: David Sugar
Subject: Re: Patch to compile CC++ on Linuxes 2.0.x
Date: Tue, 04 Sep 2001 08:13:13 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010802

This I will take in for the next release.  I like it.

Federico Montesino Pouzols wrote:

        Hi everybody,

        When compiling Common C++ 1.5.1 on old 2.0.x Linuxes,
everything goes well except atomic, because in that systems the
definition of atomic_t in asm/atomic.h, instead of this:

        typedef struct { volatile int counter; } atomic_t;

        is like this:

       typedef volatile int atomic_t;

        what circumvents AC_EGREP_HEADER and causes compiling errors
in the constructors of AtomicCounter, in mutex.cpp.

        I attach a patch to compile Common C++ on Linuxes 2.0.x with
kernel atomics. The patch modifies m4/ost_pthread.m4 and
posix/mutex.cpp to define and take into account
HAVE_ASM_ATOMIC_NOSTRUCT_BUT_INT.

patch-cc++-linuxes-2.0.x.tar.gz

Content-Type:

application/x-gunzip
Content-Encoding:

base64







reply via email to

[Prev in Thread] Current Thread [Next in Thread]