thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Strauss <phi...@philou.ch>
Subject src/concurrency/Thread.h:91: error: invalid conversion from '_opaque_pthread_t*'
Date Wed, 11 Jan 2012 03:00:47 GMT
still this build error, should I report using jira ? Here it is using gcc-4.2.1 shipped by
apple, on OSX 10.6.8 x86_64.

the same goes using genuine gnu gcc 4.5.3

right after building the generators.

Making all in .
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I/opt/local/include
-I./src  -Wall -g -O2 -MT Thrift.lo -MD -MP -MF .deps/Thrift.Tpo -c -o Thrift.lo `test -f
'src/Thrift.cpp' || echo './'`src/Thrift.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src -Wall -g -O2
-MT Thrift.lo -MD -MP -MF .deps/Thrift.Tpo -c src/Thrift.cpp  -fno-common -DPIC -o .libs/Thrift.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src -Wall -g -O2
-MT Thrift.lo -MD -MP -MF .deps/Thrift.Tpo -c src/Thrift.cpp -o Thrift.o >/dev/null 2>&1
mv -f .deps/Thrift.Tpo .deps/Thrift.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I/opt/local/include
-I./src  -Wall -g -O2 -MT TApplicationException.lo -MD -MP -MF .deps/TApplicationException.Tpo
-c -o TApplicationException.lo `test -f 'src/TApplicationException.cpp' || echo './'`src/TApplicationException.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src -Wall -g -O2
-MT TApplicationException.lo -MD -MP -MF .deps/TApplicationException.Tpo -c src/TApplicationException.cpp
 -fno-common -DPIC -o .libs/TApplicationException.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src -Wall -g -O2
-MT TApplicationException.lo -MD -MP -MF .deps/TApplicationException.Tpo -c src/TApplicationException.cpp
-o TApplicationException.o >/dev/null 2>&1
mv -f .deps/TApplicationException.Tpo .deps/TApplicationException.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I/opt/local/include
-I./src  -Wall -g -O2 -MT VirtualProfiling.lo -MD -MP -MF .deps/VirtualProfiling.Tpo -c -o
VirtualProfiling.lo `test -f 'src/VirtualProfiling.cpp' || echo './'`src/VirtualProfiling.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src -Wall -g -O2
-MT VirtualProfiling.lo -MD -MP -MF .deps/VirtualProfiling.Tpo -c src/VirtualProfiling.cpp
 -fno-common -DPIC -o .libs/VirtualProfiling.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src -Wall -g -O2
-MT VirtualProfiling.lo -MD -MP -MF .deps/VirtualProfiling.Tpo -c src/VirtualProfiling.cpp
-o VirtualProfiling.o >/dev/null 2>&1
mv -f .deps/VirtualProfiling.Tpo .deps/VirtualProfiling.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I/opt/local/include
-I./src  -Wall -g -O2 -MT ThreadManager.lo -MD -MP -MF .deps/ThreadManager.Tpo -c -o ThreadManager.lo
`test -f 'src/concurrency/ThreadManager.cpp' || echo './'`src/concurrency/ThreadManager.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src -Wall -g -O2
-MT ThreadManager.lo -MD -MP -MF .deps/ThreadManager.Tpo -c src/concurrency/ThreadManager.cpp
 -fno-common -DPIC -o .libs/ThreadManager.o
In file included from src/concurrency/ThreadManager.h:26,
                 from src/concurrency/ThreadManager.cpp:24:
src/concurrency/Thread.h: In static member function 'static uint64_t apache::thrift::concurrency::Thread::get_current()':
src/concurrency/Thread.h:91: error: invalid conversion from '_opaque_pthread_t*' to 'uint64_t'
make[4]: *** [ThreadManager.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

--
Philippe Strauss
http://www.philou.ch/





Mime
View raw message