#314 Piklab Compilation error

closed-fixed
5
2012-10-19
2012-10-18
Marc BERLIOUX
No

Since rev 2970 I'm not able to compile piklab anymore

extract of the messages :

[ 97%] Building CXX object src/piklab-test/gui/CMakeFiles/build_check.dir/build_check.o
In file included from /usr/local/src/piklab-svn/piklab_kde4/src/piklab-test/gui/build_check.cpp:15:
/usr/local/src/piklab-svn/piklab_kde4/src/libgui/editor_manager.h: In member function ‘bool EditorHistory::hasForward() const’:
/usr/local/src/piklab-svn/piklab_kde4/src/libgui/editor_manager.h:53: warning: comparison between signed and unsigned integer expressions
In file included from /usr/include/qt4/QtCore/qobject.h:47,
from /usr/include/qt4/QtCore/qiodevice.h:46,
from /usr/include/qt4/QtCore/qfile.h:45,
from /usr/include/qt4/QtCore/qfileinfo.h:45,
from /usr/include/qt4/QtCore/qdir.h:46,
from /usr/include/qt4/QtCore/qabstractfileengine.h:45,
from /usr/include/qt4/QtCore/QtCore:3,
from /usr/include/qt4/QtTest/QtTest:3,
from /usr/local/src/piklab-svn/piklab_kde4/src/piklab-test/gui/gui_check.h:12,
from /usr/local/src/piklab-svn/piklab_kde4/src/piklab-test/gui/build_check.h:12,
from /usr/local/src/piklab-svn/piklab_kde4/src/piklab-test/gui/build_check.cpp:12:
/usr/include/qt4/QtCore/qobjectdefs.h: At global scope:
/usr/include/qt4/QtCore/qobjectdefs.h: In instantiation of ‘QArgument<const PURL::Url&>’:
/usr/local/src/piklab-svn/piklab_kde4/src/piklab-test/gui/build_check.cpp:123: instantiated from here
/usr/include/qt4/QtCore/qobjectdefs.h:270: error: forming reference to reference type ‘const PURL::Url&’
/usr/local/src/piklab-svn/piklab_kde4/src/piklab-test/gui/build_check.cpp: In member function ‘void BuildCheck::openSingleFile(const PURL::Url&)’:
/usr/local/src/piklab-svn/piklab_kde4/src/piklab-test/gui/build_check.cpp:123: error: no matching function for call to ‘QArgument<const PURL::Url&>::QArgument(const char [17], const PURL::Url&)’
/usr/include/qt4/QtCore/qobjectdefs.h:268: note: candidates are: QArgument<const PURL::Url&>::QArgument(const QArgument<const PURL::Url&>&)
make[2]: *** [src/piklab-test/gui/CMakeFiles/build_check.dir/build_check.o] Erreur 1
make[1]: *** [src/piklab-test/gui/CMakeFiles/build_check.dir/all] Erreur 2
make: *** [all] Erreur 2

I do compile rev 2969 without any problem

Discussion

    • assigned_to: nobody --> azhyd
    • status: open --> closed-fixed
     
  • Hi Marc,

    could you try the latest revision?

    Thanks,
    Nicolas

     
  • Marc BERLIOUX
    Marc BERLIOUX
    2012-10-19

    With today's latest rev 2977 it's now OK !

    Thanks Nicolas