Re: [evolution-patches] Re: [Evolution-hackers] Fix for builderrorin e-utils



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/

_______________________________________________
evolution-hackers maillist  -  evolution-hackers lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution-hackers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]