Message: previous - next
Month: April 2012

Re: [trinity-devel] gcc47 - need help with tdepim - no real error - just huge cmake link output and crash

From: Darrell Anderson <humanreadable@...>
Date: Tue, 10 Apr 2012 21:32:30 -0700 (PDT)
>   Working with tdepim trying to solve the gcc47 issues,
> I'm stuck and don't really know where to start. I have the full build log at:
>   I can't find and "error: whatever" to start with. All
> I get is this massive string of stuff and then the build fails. I saw something
> similar with tdegraphics that was solved with -fpermissive, but that
> didn't solve the tdepim issue. What to do next? Here is the last info before the
> crash:

Looks like TQListViewItemIterator strikes again. Here:

/build/src/tdepim/korganizer/korgac/alarmdialog.cpp:501:32: error: redeclaration of 'TQValueList<KCal::Alarm*>::ConstIterator it'
/build/src/tdepim/korganizer/korgac/alarmdialog.cpp:489:32: error: 'TQListViewItemIterator it' previously declared here
/usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles 
/usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles 
[ 39%] Building CXX object libtdepim/CMakeFiles/tdepim-shared.dir/infoextension.cpp.o
cd /build/src/build/libtdepim && /usr/bin/c++   -Dtdepim_shared_EXPORTS -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fpermissive  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/libtdepim -I/build/src/build -I/build/src/tdepim -I/build/src/tdepim/libtdepim -I/opt/trinity/include -I/opt/tqt3/include -I/usr/include/tqt    -o CMakeFiles/tdepim-shared.dir/infoextension.cpp.o -c /build/src/tdepim/libtdepim/infoextension.cpp
[ 39%] Building CXX object kresources/exchange/CMakeFiles/resourcecalendarexchange-module.dir/dateset.cpp.o
cd /build/src/build/kresources/exchange && /usr/bin/c++   -Dresourcecalendarexchange_module_EXPORTS -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fpermissive  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/kresources/exchange -I/build/src/tdepim -I/build/src/tdepim/libtdepim -I/build/src/tdepim/libkpimexchange/core -I/opt/trinity/include -I/opt/tqt3/include -I/usr/include/tqt    -o CMakeFiles/resourcecalendarexchange-module.dir/dateset.cpp.o -c /build/src/tdepim/kresources/exchange/dateset.cpp
make[2]: *** [korganizer/korgac/CMakeFiles/korgac.dir/alarmdialog.cpp.o] Error 1