Closed GoogleCodeExporter closed 9 years ago
The above build contains flags from my own code.
When untared, running ./configure; make still yields the failure, but with the
following output:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc
-fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree
-fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc
-fno-builtin-pvalloc -mmmx -fno-omit-frame-pointer -g -O2 -MT profiler.lo -MD
-MP -MF .deps/profiler.Tpo -c src/profiler.cc -fPIC -DPIC -o .libs/profiler.o
src/profiler.cc: In constructor `CpuProfiler::CpuProfiler()':
src/profiler.cc:208: error: ISO C++ forbids casting between pointer-to-function
and pointer-to-object
Original comment by Ocasta...@gmail.com
on 6 Aug 2013 at 1:59
It is RHEL4? Which release ?
Original comment by alkondratenko
on 12 Aug 2013 at 9:41
Indeed. Seeing this on centos 4.8. Thanks for reporting.
Original comment by alkondratenko
on 17 Aug 2013 at 12:39
Thanks again. I've merged a fix
Original comment by alkondratenko
on 17 Aug 2013 at 4:21
Hi alkondratenko, the lasted version of gpertools was uploaded at Jul 30, 2013.
It seems that the fix was not uploaded.
Original comment by davids...@gmail.com
on 18 Apr 2014 at 9:08
davidsure, have you tried building out of git ?
Also be aware that I plan to do rc this weekend.
Original comment by alkondratenko
on 18 Apr 2014 at 6:53
There's 2.1rc now. I've tested myself that centos 4.8 works with that package.
Original comment by alkondratenko
on 19 Apr 2014 at 8:34
Original issue reported on code.google.com by
Ocasta...@gmail.com
on 6 Aug 2013 at 12:57