GNOME Bugzilla – Bug 339336
2 errors in xjt.c
Last modified: 2008-01-15 14:06:28 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".
Argh. XJT needs changing to be able to hold the new style paths (multiple open components in a single path...). Not good...
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.
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.
works like a charm :-) thanks!