This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Max Bowsher wrote:
No. I'm going to fix memcpy. If it ain't broke, don't mess with it. memcpy is broken. I'll fix *that*.Fix how? Unless I'm very much confused, this would require configure to create 2 new headers, containing lines like those below for every function that was in a header but did not link, AND then wrapping every include of system headers in every source file with #include "begin-system-madness.h" ... #include "end-system-madness.h". Example begin-system-madness.h: #define func1 __autoconf_func1_does_not_link #define func2 __autoconf_func2_does_not_link #define func3 __autoconf_func3_does_not_link Example end-system-madness.h: #undef func1 #undef func2 #undef func3 Do you really intend to do that?
Nope; I've done it several times. 'course, my solution at those times was the same as yours: submit a patch to cygwin.din.Isn't this the first time anyone has reported these problem prototypes messing up a compile?
Oh, well, I dunno about that. My failures were at link time -- although I did run into something similar once when I was using AC_REPLACE_FUNC()...e.g. "provide fallback if not found'.(NB: I mean breaking a compile that would have otherwise worked, instead of simply delaying failiure to the link stage).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |