[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: More Memory Leak Madness... (Fedora 12/KDE SVN)
From: Raphael Kubo da Costa <kubito () gmail ! com>
Date: 2009-11-23 14:32:53
Message-ID: 200911231232.55864.kubito () gmail ! com
[Download RAW message or body]
On Monday 23 November 2009 10:15:40 you wrote:
> > On 2009-327 02:01:26 Steven P. Ulrick wrote:
> > > > Then, check your build type: CMAKE_CXX_FLAGS will not have any effect
> > > > if you are compiling in Debug or DebugFull mode, for example, and set
> > > > the correct CMAKE_CXX_FLAGS_<MODE> variable. You may need to remove
> > > > your CMakeCache.txt and re-run cmake for things to work properly.
> > >
> > > Before I added export CMAKE_CXX_FLAGS=-fno-var-tracking-assignments to
> > > my .bashrc, I made sure that I was not compiling in any of the possible
> > > debug modes.
> >
> > Then maybe you're compiling on Release mode and you need to set
> > CMAKE_CXX_FLAGS_RELEASE (I'm not sure about this one)? And remember to
> > remove CMakeCache.txt between each test.
>
> I found out that if I add "ADD_DEFINITIONS( -fno-var-tracking-assignments
> )" to "kdepim/CMakeLists.txt" that -fno-var-tracking-assignments is
> successfully passed to the compiler, and also that kdepim will
> successfully build :) That is good news...
>
> As you know, though, adding that line to the CMakeLists.txt at the "root"
> of a project is not very efficient. I know enough that I should be able
> to export a variable and add it to my "cmakekde" function and it should be
> passed every time I run "cmakekde" But somehow I have been getting it
> wrong...
As discussed with krop on IRC, CMAKE_CXX_FLAGS_* end up overridden by KDE
definitions. Try setting CXXFLAGS.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic