After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348367 - s/__FUNCTION__/G_GNUC_FUNCTION/ in sftp-method.c
s/__FUNCTION__/G_GNUC_FUNCTION/ in sftp-method.c
Status: RESOLVED DUPLICATE of bug 342963
Product: gnome-vfs
Classification: Deprecated
Component: Build
2.15.x
Other opensolaris
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-22 22:49 UTC by Laszlo (Laca) Peter
Modified: 2006-07-23 09:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
patch that changes all occurances of __FUNCTION__ to G_GNUC_FUNCTION (25.26 KB, patch)
2006-07-22 22:50 UTC, Laszlo (Laca) Peter
none Details | Review

Description Laszlo (Laca) Peter 2006-07-22 22:49:32 UTC
The __FUNCTION__ macro is gcc specific.  glib has a macro called
G_GNUC_FUNCTION that does the same thing but in a portable manner.
Comment 1 Laszlo (Laca) Peter 2006-07-22 22:50:31 UTC
Created attachment 69397 [details] [review]
patch that changes all occurances of __FUNCTION__ to G_GNUC_FUNCTION
Comment 2 Christian Kellner 2006-07-23 09:42:09 UTC
Thanks for all the efforts but this is a dup and fixed in cvs. I have also grep'ed for __FUNCTION__ and replaced the last 3 occurrences of it with G_GUNC_FUNCTION. Thanks again.

*** This bug has been marked as a duplicate of 342963 ***