[GRASS-SVN] r68817 - grass/trunk/raster/r.terraflow
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 30 12:16:51 PDT 2016
Author: wenzeslaus
Date: 2016-06-30 12:16:51 -0700 (Thu, 30 Jun 2016)
New Revision: 68817
Modified:
grass/trunk/raster/r.terraflow/grass2str.h
Log:
r.terraflow: add space between literal and macro
String literal followed by define causes
'invalid suffix on literal' in clang++ [-Wreserved-user-defined-literal]
becasue C++11 requires space between literal and identifier (using -std=c++14).
The space will be just ignored when the resulting literal
is constructed.
Modified: grass/trunk/raster/r.terraflow/grass2str.h
===================================================================
--- grass/trunk/raster/r.terraflow/grass2str.h 2016-06-30 13:19:43 UTC (rev 68816)
+++ grass/trunk/raster/r.terraflow/grass2str.h 2016-06-30 19:16:51 UTC (rev 68817)
@@ -141,7 +141,7 @@
/* close map files */
Rast_close (infd);
- G_debug(3, "nrows=%d ncols=%d stream_len()=%"PRI_OFF_T, nrows, ncols,
+ G_debug(3, "nrows=%d ncols=%d stream_len()=%" PRI_OFF_T, nrows, ncols,
str->stream_len());
assert((off_t) nrows * ncols == str->stream_len());
rt_stop(rt);
More information about the grass-commit
mailing list