Wrong usage of QList::ConstIterator & QList::begin() ?
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sat Oct 18 13:25:44 BST 2008
Allen Winter schrieb:
> On Saturday 18 October 2008 5:45:06 am Christian Ehrlicher wrote:
>> Therefore I suggest to add QT_STRICT_ITERATORS to the kdelibs flags. Or
>> does this maybe break BC?
>>
>
> Christian,
>
> Would you try and see how much compile breakage you find?
> I guess add -DQT_STRICT_ITERATORS to the CMAKE_CXX_FLAGS_DEBUGFULL
> in kdelibs/cmake/modules/FindKDE4Internal.cmake
>
> Let's experiment with debugfull. Seems like a good idea to me.
>
My idea was to add this flag locally for kdelibs, fix all places and
then add the flag with add_definitions() to CMakeLists.txt in kdelibs root.
This would ensure that I don't break anything outside kdelibs and that
no new code in kdelibs will contain the wrong usage :)
Christian
More information about the kde-core-devel
mailing list