Fuego-1.0 のboost_1_45_0で引っかかっている2011/02/19 09:38

window7 の64bit環境だとboost_1_45-1_43まで libがうまくできない

mingw64でコンパイルに引っかかる

ding-multi\win32\thread.o
In file included from ./boost/thread/win32/basic_timed_mutex.hpp:14:0,
from ./boost/thread/win32/mutex.hpp:8,
from ./boost/thread/mutex.hpp:14,
from ./boost/thread/detail/thread.hpp:13,
from ./boost/thread/thread.hpp:22,
from libs\thread\src\win32\thread.cpp:10:
./boost/thread/win32/interlocked_read.hpp: In function 'void boost::detail::inte
rlocked_write_release(void* volatile*, void*)':
./boost/thread/win32/interlocked_read.hpp:71:13: error: cast from 'void*' to 'lo
ng int' loses precision
In file included from ./boost/thread/win32/mutex.hpp:8:0,
from ./boost/thread/mutex.hpp:14,
from ./boost/thread/detail/thread.hpp:13,
from ./boost/thread/thread.hpp:22,
from libs\thread\src\win32\thread.cpp:10:
./boost/thread/win32/basic_timed_mutex.hpp: In member function 'void* boost::det
ail::basic_timed_mutex::get_event()':
./boost/thread/win32/basic_timed_mutex.hpp:183:43: error: cast from 'void*' to '
long int' loses precision
In file included from ./boost/thread/once.hpp:14:0,
from libs\thread\src\win32\thread.cpp:17:
./boost/thread/win32/once.hpp: In function 'void boost::call_once(boost::once_fl
ag&, Function)':
./boost/thread/win32/once.hpp:136:20: error: '_InterlockedCompareExchange' is no
t a member of 'boost::detail'
./boost/thread/win32/once.hpp:152:25: error: '_InterlockedIncrement' is not a me
mber of 'boost::detail'
./boost/thread/win32/once.hpp:155:21: error: '_InterlockedExchange' is not a mem
ber of 'boost::detail'
./boost/thread/win32/once.hpp:169:21: error: '_InterlockedExchange' is not a mem
ber of 'boost::detail'
./boost/thread/win32/once.hpp:184:17: error: '_InterlockedIncrement' is not a me
mber of 'boost::detail'

"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -mthreads -Wno-long-lon
g -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_LIB=1 -I"." -c -o "bin.v2\libs\thre
ad\build\gcc-mingw-4.5.2\debug\link-static\threading-multi\win32\thread.o" "libs
\thread\src\win32\thread.cpp"

...failed gcc.compile.c++ bin.v2\libs\thread\build\gcc-mingw-4.5.2\debug\link-st
atic\threading-multi\win32\thread.o...
gcc.compile.c++ bin.v2\libs\thread\build\gcc-mingw-4.5.2\debug\link-static\threa

windowsでも fuego-1.0作成できました2011/02/19 12:48

mingw(32bit)で fuego-1.0作成できました。

boost_1_45_0です
mingw 2011/2月のを使ってます

fuego設定がいろいろあるらしく

GPT Shellで確認しないと パラメータで引っかかっています

2,3手は動くのですが エラーが出てます

configを作らないと

fuego-1.0が64bitだと暴走する2011/02/19 19:21

windowsXP(32bit)で作った。fuego-1.0ですが

windows7(64bit)だと暴走する

メモリーリークしているのかなallocでエラー出している

windows7(32bit),vista(32bit)でも動いた

でも windows7(64bit)では 暴走する