Boost logo

Boost :

From: williamkempf_at_[hidden]
Date: 2001-10-15 13:31:28


--- In boost_at_y..., williamkempf_at_h... wrote:
> Sorry, you jumped the gun a bit ;). I was able to make the code
> changes you posted this weekend, but for various reasons was unable
> to test them. That's why I didn't announce the changes on the
list.
> I'll have things worked out and functioning today, hopefully.

Well, I've worked through most of the issues that I can and will
check things into CVS shortly. I am having some difficulties in
getting gcc to work on a Win32 platform (using MINGW). The following
is the output received when running Jam. Note that this is using the
pthreads-win32 library instead of native threads (requires some minor
changes to the Jamfile, which I'll check in commented out). I can't
deciphere why the errors are occuring, so hopefully someone else can.

...found 151 targets...
...updating 39 targets...
MkDir1 ..\..\..\libs\thread\build\bin
MkDir1 ..\..\..\libs\thread\build\bin\libboost_thread
MkDir1 ..\..\..\libs\thread\build\bin\libboost_thread\gcc
MkDir1 ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug
MkDir1 ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug\runtim
e-link-dyn
amic
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug\runtim
e-
link-dynamic\condition.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug\runtim
e-
link-dynamic\mutex.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug\runtim
e-
link-dynamic\recursive_mutex.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug\runtim
e-
link-dynamic\semaphore.obj
In file included from ../../../boost/limits.hpp:15,
                 from ../src\semaphore.cpp:14:
../../../boost/detail/limits.hpp:102: macro `min' used without args
../../../boost/detail/limits.hpp:103: macro `max' used without args
../../../boost/detail/limits.hpp:157: macro `min' used without args
../../../boost/detail/limits.hpp:158: macro `max' used without args
../../../boost/detail/limits.hpp:384: macro `min' used without args
../../../boost/detail/limits.hpp:386: macro `max' used without args
../../../boost/detail/limits.hpp:412: macro `min' used without args
../../../boost/detail/limits.hpp:414: macro `max' used without args
../../../boost/detail/limits.hpp:440: macro `min' used without args
../../../boost/detail/limits.hpp:442: macro `max' used without args
../src\semaphore.cpp:79: macro `max' used without args

    g++ -c -Wall -ftemplate-depth-100 -DBOOST_HAS_PTHREADS -
DPtW32NoCatchWarn
 -g -O0 -fno-inline -I"..\..\..\libs\thread\build" -I"." -
I"..\..\.." -I"c:\pt
hreads\dll" -
o "..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug\runti
me-link-dynamic\semaphore.obj" "../src\semaphore.cpp"

...failed gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debu
g\runtime-link-dynamic\semaphore.obj ...
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug\runtim
e-
link-dynamic\thread.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug\runtim
e-
link-dynamic\tss.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug\runtim
e-
link-dynamic\xtime.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\debug\runtim
e-
link-dynamic\once.obj
...skipped <libs!thread!build\libboost_thread\gcc\debug\runtime-link-
dynamic>lib
boost_thread.lib for lack of <libs!thread!
build\libboost_thread\gcc\debug\runtim
e-link-dynamic>semaphore.obj...
MkDir1 ..\..\..\libs\thread\build\bin\libboost_thread\gcc\release
MkDir1 ..\..\..\libs\thread\build\bin\libboost_thread\gcc\release\runt
ime-link-d
ynamic
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\release\runt
im
e-link-dynamic\condition.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\release\runt
im
e-link-dynamic\mutex.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\release\runt
im
e-link-dynamic\recursive_mutex.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\release\runt
im
e-link-dynamic\semaphore.obj
In file included from ../../../boost/limits.hpp:15,
                 from ../src\semaphore.cpp:14:
../../../boost/detail/limits.hpp:102: macro `min' used without args
../../../boost/detail/limits.hpp:103: macro `max' used without args
../../../boost/detail/limits.hpp:157: macro `min' used without args
../../../boost/detail/limits.hpp:158: macro `max' used without args
../../../boost/detail/limits.hpp:384: macro `min' used without args
../../../boost/detail/limits.hpp:386: macro `max' used without args
../../../boost/detail/limits.hpp:412: macro `min' used without args
../../../boost/detail/limits.hpp:414: macro `max' used without args
../../../boost/detail/limits.hpp:440: macro `min' used without args
../../../boost/detail/limits.hpp:442: macro `max' used without args
../src\semaphore.cpp:79: macro `max' used without args

    g++ -c -Wall -ftemplate-depth-100 -DNDEBUG -
DBOOST_HAS_PTHREADS -DPtW32NoC
atchWarn -O4 -finline-functions -Wno-inline -
I"..\..\..\libs\thread\build" -I
"." -I"..\..\.." -I"c:\pthreads\dll" -
o "..\..\..\libs\thread\build\bin\libboo
st_thread\gcc\release\runtime-link-
dynamic\semaphore.obj" "../src\semaphore.cpp
"

...failed gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\rele
ase\runtime-link-dynamic\semaphore.obj ...
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\release\runt
im
e-link-dynamic\thread.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\release\runt
im
e-link-dynamic\tss.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\release\runt
im
e-link-dynamic\xtime.obj
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_thread\gcc\release\runt
im
e-link-dynamic\once.obj
...skipped <libs!thread!build\libboost_thread\gcc\release\runtime-
link-dynamic>l
ibboost_thread.lib for lack of <libs!thread!
build\libboost_thread\gcc\release\ru
ntime-link-dynamic>semaphore.obj...
MkDir1 ..\..\..\libs\thread\build\bin\libboost_threadmon
MkDir1 ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc
MkDir1 ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\debug
MkDir1 ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\debug\run
time-link-
dynamic
MkDir1 ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\debug\run
time-link-
dynamic\shared-linkable-true
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\debug\run
ti
me-link-dynamic\shared-linkable-true\threadmon.obj
cc1plus.exe: warning: -fPIC ignored for target (all code is position
independent
)
../src\threadmon.cpp:10: warning: ignoring pragma:
gcc-Link-
action ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\debug\run
t
ime-link-dynamic\shared-linkable-
true\libboost_threadmon.dll ..\..\..\libs\threa
d\build\bin\libboost_threadmon\gcc\debug\runtime-link-dynamic\shared-
linkable-tr
ue\libboost_threadmon.lib
Creating library
file: ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\deb
ug\runtime-link-dynamic\shared-linkable-true\libboost_threadmon.lib
MkDir1 ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\release
MkDir1 ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\release\r
untime-lin
k-dynamic
MkDir1 ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\release\r
untime-lin
k-dynamic\shared-linkable-true
gcc-C++-
action ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\release\r
un
time-link-dynamic\shared-linkable-true\threadmon.obj
cc1plus.exe: warning: -fPIC ignored for target (all code is position
independent
)
../src\threadmon.cpp:10: warning: ignoring pragma:
gcc-Link-
action ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\release\r
u
ntime-link-dynamic\shared-linkable-
true\libboost_threadmon.dll ..\..\..\libs\thr
ead\build\bin\libboost_threadmon\gcc\release\runtime-link-
dynamic\shared-linkabl
e-true\libboost_threadmon.lib
Creating library
file: ..\..\..\libs\thread\build\bin\libboost_threadmon\gcc\rel
ease\runtime-link-dynamic\shared-linkable-true\libboost_threadmon.lib
...failed updating 2 targets...
...skipped 2 targets...
...updated 35 targets...

Bill Kempf


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