Public bug reported:

Binary package hint: acovea

compiling with gcc-4.x leads to a regression.:


libacovea-5.1.1$ make
Making all in libacovea
make[1]: Entering directory `/home/oem/Downloads/libacovea-5.1.1/libacovea'
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -I. -I. -I. -I. -I.. 
-DACOVEA_VERSION=\"5.1.1\" 
-DACOVEA_CONFIG_DIR=\""/usr/local/share/libacovea/config/"\" 
-DACOVEA_BENCHMARK_DIR=\""/usr/local/share/libacovea/benchmarks/"\"    -g -O2 
-MT acovea.lo -MD -MP -MF ".deps/acovea.Tpo" -c -o acovea.lo acovea.cpp; \
        then mv -f ".deps/acovea.Tpo" ".deps/acovea.Plo"; else rm -f 
".deps/acovea.Tpo"; exit 1; fi
mkdir .libs
 g++ -I. -I. -I. -I. -I.. -DACOVEA_VERSION=\"5.1.1\" 
-DACOVEA_CONFIG_DIR=\"/usr/local/share/libacovea/config/\" 
-DACOVEA_BENCHMARK_DIR=\"/usr/local/share/libacovea/benchmarks/\" -g -O2 -MT 
acovea.lo -MD -MP -MF .deps/acovea.Tpo -c acovea.cpp  -fPIC -DPIC -o 
.libs/acovea.o
In file included from acovea.cpp:36:0:
acovea.h:422:5: warning: 'typedef' was ignored in this declaration [enabled by 
default]
acovea.h:630:5: warning: 'typedef' was ignored in this declaration [enabled by 
default]
acovea.h:636:5: warning: 'typedef' was ignored in this declaration [enabled by 
default]
acovea.cpp: In function 'double run_test(const 
std::vector<std::basic_string<char> >&, std::string, libevocosm::listener&, 
acovea::optimization_mode)':
acovea.cpp:1214:42: error: no matching function for call to 'stat::stat(const 
char*, stat*)'
acovea.cpp:1214:42: note: candidates are:
/usr/include/bits/stat.h:46:8: note: stat::stat()
/usr/include/bits/stat.h:46:8: note:   candidate expects 0 arguments, 2 provided
/usr/include/bits/stat.h:46:8: note: stat::stat(const stat&)
/usr/include/bits/stat.h:46:8: note:   candidate expects 1 argument, 2 provided
acovea.cpp:1221:23: warning: deprecated conversion from string constant to 
'char*' [-Wwrite-strings]
make[1]: *** [acovea.lo] Error 1
make[1]: Leaving directory `/home/oem/Downloads/libacovea-5.1.1/libacovea'
make: *** [all-recursive] Error 1

The solution to solve this, there is a missing #include <sys/stat.h>.
Please add this include in file libacovea/acovea.cpp and the problem is
solved.

Best regards

Martin

** Affects: acovea (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/800351

Title:
  regression with gcc-4.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acovea/+bug/800351/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to