GNOME Bugzilla – Bug 545203
gfile.c: argument is different type.
Last modified: 2009-04-20 10:09:35 UTC
Please describe the problem: The first argument of g_set_error_literal is 'GError **'. But g_set_error_literal is called with 'GError *' in gfile.c. Steps to reproduce: 1. compile gfile.c Actual results: Following message is displayed.(Visual C++) gfile.c(4204) : error C4047: 'function' : 'GError **' differs in levels of indirection from 'GError *' Expected results: g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, _("Operation not supported")); Does this happen every time? Revision 7200 or later glib-2.16.5 Other information:
Created attachment 115443 [details] [review] patch for glib-2.16.5 g_set_error which is used in glib-2.16.5 has same problem.
2008-07-28 Matthias Clasen <mclasen@redhat.com> Bug 545203 – gfile.c: argument is different type. * gfile.c (open_read_async_thread): Pass a GError ** to g_file_set_error_literal. Reported by Kazuki Iwamoto
*** Bug 556458 has been marked as a duplicate of this bug. ***