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 339336 - 2 errors in xjt.c
2 errors in xjt.c
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.3.x
Other IRIX
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-04-21 18:26 UTC by g.fischer@ah-online.com
Modified: 2008-01-15 14:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description g.fischer@ah-online.com 2006-04-21 18:26:33 UTC
irix 6.5.29, mipspro 7.4.x
--------------------------

cc-1515 c99: ERROR File = xjt.c, Line = 1300
  A value of type "int" cannot be assigned to an entity of type "gchar **".

    l_path_names = gimp_path_list(image_id, &l_num_paths);
                 ^

cc-1515 c99: ERROR File = xjt.c, Line = 1303
  A value of type "int" cannot be assigned to an entity of type "gchar *".

    l_current_pathname = gimp_path_get_current(image_id);
                       ^

2 errors detected in the compilation of "xjt.c".
Comment 1 Simon Budig 2006-04-21 23:50:06 UTC
Argh. XJT needs changing to be able to hold the new style paths (multiple open components in a single path...). Not good...
Comment 2 Sven Neumann 2006-04-22 01:54:00 UTC
I am not sure how much sense it makes to attempt to continue support for the XJT format. Perhaps we should just undef GIMP_DISABLE_DEPRECATED to fix the compilation problem and only care about providing the compatibilty in the PDB.
Comment 3 Sven Neumann 2006-04-24 11:18:03 UTC
This fixes the problem w/o changing the format:

2006-04-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/xjt/xjt.c: undef GIMP_DISABLE_DEPRECATED to fix the
	build on IRIX MIPSpro (bug #339336).

Of course this means that the XJT format won't be able to handle paths that cannot be described by the old paths API. But I would like to deprecate use of XJT anyway.
Comment 4 g.fischer@ah-online.com 2006-05-04 01:43:21 UTC
works like a charm :-)
thanks!