[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [wdiff-bugs] New version (0.5.90) available for testing
From: |
Santiago Vila |
Subject: |
Re: [wdiff-bugs] New version (0.5.90) available for testing |
Date: |
Sat, 23 Jun 2007 12:29:23 +0200 (CEST) |
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.
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.
Thanks.