What steps will reproduce the problem?
1. wget https://tweetx.googlecode.com/files/tweetx-0.1.tar.gz
2. tar xf tweetx-0.1
3. ./configure && make
What is the expected output? What do you see instead?
The compilation shouldn't fail. :) The error message is following.
libtool: compile: g++ -DHAVE_CONFIG_H -I../../.. -g -O2 -MT timestamper.lo -MD
-MP -MF .deps/timestamper.Tpo -c timestamper.cc -fPIC -DPIC -o
.libs/timestamper.o
In file included from timestamper.cc:1:0:
timestamper.h: In member function ‘void TimeStamper::EndTime(size_t&)’:
timestamper.h:44:5: error: cannot call constructor ‘log::Log::Log’ directly
[-fpermissive]
timestamper.h:44:5: error: for a function-style cast, remove the redundant
‘::Log’ [-fpermissive]
make[1]: *** [timestamper.lo] Error 1
make[1]: Leaving directory
`/home/erkkimon/Downloads/tweetx-0.1/src/libsrc/timestamper'
make: *** [all-recursive] Error 1
What version of the product are you using? On what operating system?
I'm using Ubuntu 12.04 and the version of tweetx I'm compiling is 0.1. The
version of GCC is 4.6.3.
Please provide any additional information below.
This can be fixed by editing the file src/libsrc/log/log.h:
sed -i "s/log::Log::Log/log::Log/g" src/libsrc/log/log.h
Original issue reported on code.google.com by tom.hima...@gmail.com on 4 Jul 2013 at 10:19
Original issue reported on code.google.com by
tom.hima...@gmail.com
on 4 Jul 2013 at 10:19