[Bug 320] Cannot build 3.4p1

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jul 19 06:40:18 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=320





------- Additional Comments From mouring at eviladmin.org  2002-07-19 06:40 -------
The logic we use is such:

configure checks if __FUNCTION__ exists
configure checks if __func__ exists

And in defines.h we do:

#if !defined(HAVE___func__) && defined(HAVE___FUNCTION__)
#  define __func__ __FUNCTION__
#elif !defined(HAVE___func__)
#  define __func__ ""
#endif

So if there is no possible way of doing __func__ we just set it to nothing.
That way we still have code compatibility at the cost of readable debugging.

I hate the whole __func__ vs __FUNCTION__ crap.  I really don't like the fact 
we started depending on those.

So the issue has to be in how configure is doing it's job.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list