[Libreoffice] WaE on vcl because of qt4 module

julien2412 serval2412 at yahoo.fr
Fri Nov 25 10:56:42 PST 2011


Hello,

By compiling vcl module (Debian testing x86-32, WaE, debug and symbols
enabled), I've got this : 
In file included from /usr/include/qt4/QtCore/qdatastream.h:45:0,
                 from /usr/include/qt4/QtCore/qpair.h:45,
                 from /usr/include/qt4/QtCore/qhash.h:49,
                 from
/home/maryline/compile-libreoffice/libo/vcl/unx/kde4/KDEXLib.hxx:35,
                 from
/home/maryline/compile-libreoffice/libo/vcl/unx/kde4/KDEData.cxx:31:
/usr/include/qt4/QtCore/qscopedpointer.h: In static member function ‘static
void QScopedPointerDeleter<T>::cleanup(T*)’:
/usr/include/qt4/QtCore/qscopedpointer.h:55:5: error: declaration of
‘pointer’ shadows a global declaration [-Werror=shadow]
/usr/include/qt4/QtCore/qscopedpointer.h: In static member function ‘static
void QScopedPointerArrayDeleter<T>::cleanup(T*)’:
/usr/include/qt4/QtCore/qscopedpointer.h:70:5: error: declaration of
‘pointer’ shadows a global declaration [-Werror=shadow]
/usr/include/qt4/QtCore/qscopedpointer.h: In static member function ‘static
void QScopedPointerPodDeleter::cleanup(void*)’:
/usr/include/qt4/QtCore/qscopedpointer.h:83:47: error: declaration of
‘pointer’ shadows a global declaration [-Werror=shadow]
cc1plus: all warnings being treated as errors

For the moment, I disable WaE in autogen.lastrun just to compile vcl but
where should I declare this pb ? Debian, qt devs, others ?

Julien.


--
View this message in context: http://nabble.documentfoundation.org/WaE-on-vcl-because-of-qt4-module-tp3536787p3536787.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list