wdiff-bugs
[Top][All Lists]
Advanced

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

Re: [wdiff-bugs] New version (0.5.90) available for testing


From: Denver Gingerich
Subject: Re: [wdiff-bugs] New version (0.5.90) available for testing
Date: Sat, 23 Jun 2007 10:09:59 -0400

On 6/23/07, Santiago Vila <address@hidden> wrote:
While compiling 0.5.90, I get this:

unify.c: In function 'add_line':
unify.c:119: warning: incompatible implicit declaration of built-in function 
'strlen'
unify.c:123: warning: incompatible implicit declaration of built-in function 
'strcpy'
unify.c: In function 'main':
unify.c:475: warning: incompatible implicit declaration of built-in function 
'strlen'
unify.c:477: warning: incompatible implicit declaration of built-in function 
'strncpy'
unify.c:665: warning: incompatible implicit declaration of built-in function 
'strcpy'

These warnings go away by adding this:

diff -ru wdiff-0.5.90.orig/src/unify.c wdiff-0.5.90/src/unify.c
--- wdiff-0.5.90.orig/src/unify.c       2007-06-22 05:50:33.000000000 +0200
+++ wdiff-0.5.90/src/unify.c    2007-06-23 12:15:31.511307671 +0200
@@ -22,6 +22,7 @@

 #include "system.h"
 #include "getopt.h"
+#include <string.h>

 /* FIXME: Programs should not have such limits.  */
 #define NAME_LENGTH 255

but I don't know if that's portable enough for your taste.

string.h is ANSI C so it should be very portable.  Can anyone see why
this would not be portable?

I will include your fix in the next pre-test.

Regarding translations: Even if you do not send the .pot file to the
Translation Project Robot, there are already translations available
for wdiff 0.5g, which I think should be closer to the current code.

I haven't changed any of the translations in the i18n folder so they
should be exactly the same as in 0.5g.

Denver




reply via email to

[Prev in Thread] Current Thread [Next in Thread]