[GRASS-dev] [GRASS GIS] #2974: grass704 compilation fails

#2974: grass704 compilation fails
----------------------------------+---------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 7.0.4
Component: Compiling | Version: svn-releasebranch70
Keywords: Vect_point_in_box_2d | CPU: Unspecified
Platform: Unspecified |
----------------------------------+---------------------------------
Current releasebranch_70 fails to compile

{{{
Errors in:
/opt/src/grass70_release/vector/v.distance
}}}

{{{
(cd vector/v.distance/;make)
distance.c: In function ‘line2area’:
distance.c:298:13: error: implicit declaration of function
‘Vect_point_in_box_2d’ [-Werror=implicit-function-declaration]
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2974&gt;
GRASS GIS <https://grass.osgeo.org>

#2974: grass704 compilation fails
--------------------------+----------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: blocker | Milestone: 7.0.4
Component: Compiling | Version: svn-releasebranch70
Resolution: | Keywords: Vect_point_in_box_2d
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------------

Comment (by martinl):

See #2970

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2974#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#2974: grass704 compilation fails
--------------------------+----------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: blocker | Milestone: 7.0.4
Component: Compiling | Version: svn-releasebranch70
Resolution: | Keywords: Vect_point_in_box_2d
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------------

Comment (by wenzeslaus):

The key was actually in comment:6:ticket:2734. I have backported r68143
and r68146 but not r66462. Now backported in r68206. Added `-Werror-
implicit-function-declaration` also to my 7.0 branch settings. Close this
if it works for you.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2974#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#2974: grass704 compilation fails
--------------------------+----------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: 7.0.4
Component: Compiling | Version: svn-releasebranch70
Resolution: fixed | Keywords: Vect_point_in_box_2d
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------------
Changes (by martinl):

* status: new => closed
* resolution: => fixed

Comment:

Thanks, works. Closing.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2974#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>