Boost logo

Boost :

From: Roland Weiss (weissr_at_[hidden])
Date: 2002-03-09 07:36:48


Dear Boosters,

recently I upgraded my boost library to version 1.27.0. Unfortunately,
using shared_ptr no longer works. My configuration is as follows:

Comeau 4.2.45.2, Linux, libcomo (SGI STL derived)

The problem is as follows: shared_ptr on Linux includes the file
"/usr/include/asm/atomic.h", but this file fails being processed
correctly by the como compiler:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Comeau C/C++ 4.2.45.2 (Apr 9 2001 22:04:13) for RedHat_LINUX_INTEL_ELF
Copyright 1988-2001 Comeau Computing. All rights reserved.
MODE:strict warnings C++

"/usr/include/asm/atomic.h", line 55: error: expected a "("
          __asm__ __volatile__(
                  ^

"/usr/include/asm/atomic.h", line 57: error: expected a ")"
                  :"=m" (v->counter)
                  ^
...
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

any help appreciated,
Roland


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk