Boost logo

Boost Users :

From: Matthew Peltzer (goochrules_at_[hidden])
Date: 2005-03-24 00:12:45


> Well, if anyone would care to compile and run the following program on
> Mac OS X using pthreads, we can at least tell whether there is a
> consistent failure:

Here's what it looks it looks like with boost1_31 from fink on OS X 10.3.8:

> g++ -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)
> g++ -I/sw/include/boost-1_31 -L/sw/lib -lboost_thread-1_31 -o thread thread.cpp
In file included from
/sw/include/boost-1_31/boost/type_traits/is_arithmetic.hpp:13,
                 from
/sw/include/boost-1_31/boost/type_traits/arithmetic_traits.hpp:14,
                 from
/sw/include/boost-1_31/boost/function/function_base.hpp:19,
                 from
/sw/include/boost-1_31/boost/function/detail/prologue.hpp:16,
                 from /sw/include/boost-1_31/boost/function.hpp:22,
                 from /sw/include/boost-1_31/boost/thread/thread.hpp:20,
                 from thread.cpp:2:
/sw/include/boost-1_31/boost/type_traits/is_float.hpp:21: warning: use of `long
   double' type; its size may change in a future release
/sw/include/boost-1_31/boost/type_traits/is_float.hpp:21: warning: (Long double
   usage is reported only once for each file.
/sw/include/boost-1_31/boost/type_traits/is_float.hpp:21: warning: To disable
   this warning, use -Wno-long-double.)
> ./thread
Joining exited thread
Joining running thread
>

...not sure if i'm "using pthreads" explicitly, but it all looks good to me.

-- Matthew Peltzer
-- goochrules_at_[hidden]


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net