code completion problem && some generic questions

Matt Rogers mattr at kde.org
Thu Mar 9 14:27:02 UTC 2006


On Thursday 09 March 2006 06:19, Bernd Schubert wrote:
> > I'm going to recompile with --debug now, lets see if that helps to get a
> > debug'able version.
>
> *grumble* *grrrrrr*
>
> Just configured with ./configure --prefix=/home/bernd/local/
> --disable-final --enable-debug and this stupid -O2 is still there
>
> if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
> -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/compat  -I../../lib/interfaces
> -I../../lib/sourceinfo  -I/usr/include/kde -I/usr/share/qt3/include
> -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long
> -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -Wall -W -Wpointer-arith -g -O2 -fno-reorder-blocks
> -fno-schedule-insns -fno-inline -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION  -MT kscriptactionmanager.lo -MD -MP -MF
> ".deps/kscriptactionmanager.Tpo" -c -o kscriptactionmanager.lo
> kscriptactionmanager.cpp; \
>         then mv -f ".deps/kscriptactionmanager.Tpo"
> ".deps/kscriptactionmanager.Plo"; else rm -f
> ".deps/kscriptactionmanager.Tpo"; exit 1; fi
>
>
> Going to remove every single -O2 in the tree now.

--enable-debug=full rather than --enable-debug should get rid of the -O2




More information about the KDevelop-devel mailing list