[GRASS-SVN] r60135 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 6 13:27:19 PDT 2014
Author: neteler
Date: 2014-05-06 13:27:19 -0700 (Tue, 06 May 2014)
New Revision: 60135
Modified:
grass/trunk/lib/gis/gisinit.c
Log:
libgis: improve version mismatch compilation warning (patch from trac #1467)
Modified: grass/trunk/lib/gis/gisinit.c
===================================================================
--- grass/trunk/lib/gis/gisinit.c 2014-05-06 20:02:02 UTC (rev 60134)
+++ grass/trunk/lib/gis/gisinit.c 2014-05-06 20:27:19 UTC (rev 60135)
@@ -48,8 +48,10 @@
G_set_program_name(pgm);
if (strcmp(version, GIS_H_VERSION) != 0)
- G_fatal_error(_("Incompatible library version for module. "
- "You need to rebuild GRASS or untangle multiple installations."));
+ G_fatal_error(_("Module built against version %s "
+ "trying to use version %s."
+ "You need to rebuild GRASS GIS or untangle multiple installations."),
+ version, GIS_H_VERSION);
/* Make sure location and mapset are set */
G_location_path();
@@ -80,9 +82,10 @@
return;
if (strcmp(version, GIS_H_VERSION) != 0)
- G_fatal_error(_("Incompatible library version for module. "
- "You need to rebuild GRASS or untangle multiple installations."));
-
+ G_fatal_error(_("Module built against version %s "
+ "trying to use version %s."
+ "You need to rebuild GRASS GIS or untangle multiple installations."),
+ version, GIS_H_VERSION);
gisinit();
}
More information about the grass-commit
mailing list