Hi It would be nice if you gave us the error message you got ;) I guess it's gcc complaining about strcmp being passed NULL pointers ? If so, the warning is harmless, since the strcmp in the macro won't be called with NULL parameters because of the tests before it. I'm mostly guessing from talks I had with friends on IRC, maybe the problem is totally different ;) Anyway, since gcc 3.4 is not an official release yet, I don't think it's critical to rush to fix that warning which might (or might not) disappear before the final 3.4 release. Can you file this problem on bugzilla.gnome.org so that it's not forgotten? Thanks, Christophe Le mar 09/03/2004 à 22:42, Gerold J. Wucherpfennig a écrit : > Due to changes in gcc > > gnome-vfs/test/test-uri.c and > gnome-vfs/modules/http-authn.c > > won't compile with gcc 3.4 > > > Here is a quick work-around for this issue. > May someone please commit it or even make a better one? > > > The diff: > > #define VERIFY_STRING_RESULT(function, expected) \ > G_STMT_START > { \ > char *result = function; > \ > + char *expected2 = expected;\ > if (!((result == NULL && expected == NULL) > \ > - || (result != NULL && expected != NULL && strcmp > (result, (char *)expected) == 0))) { \ > + || (result != NULL && expected != NULL && strcmp > (result, (char *)expected2) == 0))) { \ > test_failed ("%s:%s:%s: returned '%s' expected '%s'", > __FILE__, __LINE__, #function, result, expected); \ > } > \ > } G_STMT_END > > > > > Regards > > _______________________________________________ > desktop-devel-list mailing list > desktop-devel-list gnome org > http://mail.gnome.org/mailman/listinfo/desktop-devel-list > >
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=