Re: [evolution-patches] Re: [Evolution-hackers] Fix for builderror in e-utils
- From: Philip Van Hoof <spamfrommailing freax org>
- To: Not Zed <notzed ximian com>
- Cc: spamfrommailing pvanhoof be, evolution-hackers lists ximian com, Evolution Patches <evolution-patches lists ximian com>
- Subject: Re: [evolution-patches] Re: [Evolution-hackers] Fix for builderror in e-utils
- Date: Mon, 02 May 2005 11:42:53 +0200
On Mon, 2005-05-02 at 14:56 +0530, Not Zed wrote:
> Hmm, why does this not build?
> It is like that very speficially so that all of the profiling code can
> be completely removed from the compilation, rather than just calling a
> dummy function.
>
> Any fix should maintain this behaviour, so this one isn't suitable.
As a gcc 4.0 user the line in the c-file is giving me a syntax error. In
the c-file it isn't showing an incorrect syntax whatsoever.
Wouldn't it then be better to wrap the entire function in the #ifdef-
#endif clause and wrap the line where the function is called with it
too?
In which case the function isn't compiled if profiling isn't enabled. As
will the calls to that function also not be compiled.
--
Philip Van Hoof, Software Developer @ Cronos
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: philip dot vanhoof at cronos dot be
junk: philip dot vanhoof at gmail dot com
http://www.pvanhoof.be/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]