[GRASS-dev] [GRASS GIS] #2598: g.extension compilation fails

GRASS GIS trac at osgeo.org
Tue Jan 5 17:54:06 PST 2016


#2598: g.extension compilation fails
-----------------------+---------------------------------
  Reporter:  ewcgrass  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  closed
  Priority:  normal    |  Milestone:  7.0.3
 Component:  Default   |    Version:  svn-releasebranch70
Resolution:  fixed     |   Keywords:
       CPU:  x86-64    |   Platform:  Linux
-----------------------+---------------------------------

Comment (by wenzeslaus):

 Replying to [comment:14 rdzur]:
 > r.damflood does not compile...
 >
 >
 > {{{
 > ...
 > main.c:223:9: error: expected ')'
 > /usr/include/secure/_string.h:125:38: note: expanded from
 > macro 'strcat'
 >   __builtin___strcat_chk (dest, src, __darwin_obsz (dest))
 > ...
 > }}}

 There was some unused code which caused the issue (seems like `strcat` is
 a macro on Mac which caused a cryptic message, all fine with gcc 5.2.1 and
 clang 3.6.2 on Ubuntu 15.10). Code removed in r67491.

 In general, r.damflood would use some clean up (a lot of unused variables,
 abs/fabs etc.).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2598#comment:15>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list