Latest compiz plugin main fail to build with compiz-core > r3010

Bug #937851 reported by Mjules
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz Main Plugins
Fix Released
High
Sam Spilsbury

Bug Description

Hi,

as for the summary, it failed in the expo plugin. Here is the error it gives :

[ 93%] Building CXX object expo/CMakeFiles/expo.dir/src/expo.cpp.o
/home/jules/rpm_cauldron/compiz-plugins-main/SOURCES/compiz-plugins-main-bzr19/expo/src/expo.cpp: In member function 'bool ExpoScreen::exitExpo(CompAction*, CompAction::State, CompOption::Vector&)':
/home/jules/rpm_cauldron/compiz-plugins-main/SOURCES/compiz-plugins-main-bzr19/expo/src/expo.cpp:179:35: error: no matching function for call to 'ExpoScreen::termExpo(CompAction*&, int, CompOption::Vector& (&)())'
/home/jules/rpm_cauldron/compiz-plugins-main/SOURCES/compiz-plugins-main-bzr19/expo/src/expo.cpp:179:35: note: candidate is:
/home/jules/rpm_cauldron/compiz-plugins-main/SOURCES/compiz-plugins-main-bzr19/expo/src/expo.cpp:132:1: note: bool ExpoScreen::termExpo(CompAction*, CompAction::State, CompOption::Vector&)
/home/jules/rpm_cauldron/compiz-plugins-main/SOURCES/compiz-plugins-main-bzr19/expo/src/expo.cpp:132:1: note: no known conversion for argument 3 from 'CompOption::Vector&() {aka std::vector<CompOption>&()}' to 'CompOption::Vector& {aka std::vector<CompOption>&}'
/home/jules/rpm_cauldron/compiz-plugins-main/SOURCES/compiz-plugins-main-bzr19/expo/src/expo.cpp: In member function 'virtual void ExpoScreen::handleEvent(XEvent*)':
/home/jules/rpm_cauldron/compiz-plugins-main/SOURCES/compiz-plugins-main-bzr19/expo/src/expo.cpp:376:34: error: no matching function for call to 'ExpoScreen::termExpo(CompAction*, int, CompOption::Vector& (&)())'
/home/jules/rpm_cauldron/compiz-plugins-main/SOURCES/compiz-plugins-main-bzr19/expo/src/expo.cpp:376:34: note: candidate is:
/home/jules/rpm_cauldron/compiz-plugins-main/SOURCES/compiz-plugins-main-bzr19/expo/src/expo.cpp:132:1: note: bool ExpoScreen::termExpo(CompAction*, CompAction::State, CompOption::Vector&)
/home/jules/rpm_cauldron/compiz-plugins-main/SOURCES/compiz-plugins-main-bzr19/expo/src/expo.cpp:132:1: note: no known conversion for argument 3 from 'CompOption::Vector&() {aka std::vector<CompOption>&()}' to 'CompOption::Vector& {aka std::vector<CompOption>&}'
make[2]: *** [expo/CMakeFiles/expo.dir/src/expo.cpp.o] Error 1
make[1]: *** [expo/CMakeFiles/expo.dir/all] Error 2
make: *** [all] Error 2

I'm using gcc 4.6.2 :

[jules@cauldron build]$ LC_ALL=C gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.2/lto-wrapper
Target: x86_64-mageia-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib64 --with-bugurl=http://bugs.mageia.org/ --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --enable-linker-build-id --build=x86_64-mageia-linux-gnu --host=x86_64-mageia-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-objc-gc --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp --disable-werror --with-ppl --with-cloog --with-python-dir=/lib/python2.7/site-packages --enable-lto
Thread model: posix
gcc version 4.6.2 (GCC)

thanks
Julien

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I believe this was fixed in lp:compiz-plugins-main revision 17. Please pull the latest version.

Changed in compiz-plugins-main:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Sam Spilsbury (smspillaz)
milestone: none → 0.9.7.0
Revision history for this message
Mjules (mjulien-m) wrote :

Indeed, it works with latest bzr, should have check before.

thank you and sorry for the noise.

Changed in compiz-plugins-main:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.