On Oct 9, 11:36 pm, andrey the giant <[email protected]> wrote:
> This patch eliminates the warning about a missing protoype for strncmp
> in gen-mpir/gen-mpir.c
>
> diff -Nau build.vc9/gen-mpir/gen-mpir2.c build.vc9/gen-mpir/gen-mpir.c
> --- build.vc9/gen-mpir/gen-mpir2.c 2009-10-09 16:27:03.838811500
> -0400
> +++ build.vc9/gen-mpir/gen-mpir.c 2009-10-09 16:40:53.271811500
> -0400
> @@ -1,5 +1,6 @@
>
> #include <stdio.h>
> +extern int strncmp(const char *, const char *, size_t);
>
> char *add =
> "#if ! defined (__GMP_WITHIN_CONFIGURE)\n"
Thanks for the report. I have fixed this by including <string.h>
Brian Gladman
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"mpir-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---