PATCH: gcc3.x __FUNCTION__ fix
- From: Ali Akcaagac <ali akcaagac stud fh-wilhelmshaven de>
- To: balsa-list gnome org
- Subject: PATCH: gcc3.x __FUNCTION__ fix
- Date: Sun, 23 Dec 2001 22:14:29 +0100
hi,
in current cvs src/sendmsg-window.c contains old depracted
__FUNCTION__ variables that causes gcc 3.x to spit out an
error when compiled with -Werror. for future compilance this
needs to be changed to __funct__. everything else can be read
in gcc-info-13.
--
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa
--- balsa-cvs/src/sendmsg-window.c Sun Dec 23 21:11:26 2001
+++ balsa/src/sendmsg-window.c Sun Dec 23 22:06:31 2001
@@ -975,12 +975,12 @@
char *last_slash = strrchr(attach->filename, '/');
if (balsa_app.debug)
- fprintf (stderr, __FILE__ ":" __FUNCTION__ ": unlink `%s'\n",
+ fprintf (stderr, __FILE__ ":" __func__ ": unlink `%s'\n",
attach->filename);
unlink(attach->filename);
*last_slash = 0;
if (balsa_app.debug)
- fprintf (stderr, __FILE__ ":" __FUNCTION__ ": rmdir `%s'\n",
+ fprintf (stderr, __FILE__ ":" __func__ ": rmdir `%s'\n",
attach->filename);
rmdir(attach->filename);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]