| List: | Commits | « Previous MessageNext Message » | |
| From: | Davi Arnaut | Date: | October 1 2010 4:49pm |
| Subject: | Re: bzr commit into mysql-5.1-bugteam branch (Alexey.Kopytov:3514) Bug#56709 | ||
| View as plain text | |||
On 10/1/10 1:38 PM, Alexey Kopytov wrote: > On 01.10.10 20:23, Davi Arnaut wrote: >>>>> And yes, incorrectly defined HAVE_BZERO is a different issue. >>>> >>>> Not exactly incorrect. That's the way autoconf/cmake works. >>>> >>> >>> I am well aware how autoconf works. From the autoconf docs: >>> >>> "For each FUNCTION enumerated in the blank-or-newline-separated argument >>> list, define `HAVE_FUNCTION' (in all capitals) if it is available." >>> >>> I think the only practically usable definition of "available" is "you >>> can use it in your code". Since we can't really use bzero() in C++ code >> >> autoconf obviously disagrees with you. >> > > Nice trolling, but it just how it works. It will obviously not detect > problems with C++ when _you_ tell it to use C for its tests. So it's not > about "disagreement", it's a matter of knowing how to use the tools. Hum, I think it stills links even if using C++. Could you test and get back to me? I'll happily retract the above statement if it does not detect it as available if the language is set to C++. Otherwise, I assume linking is still possible. Regards,
