[GRASS-dev] [GRASS GIS] #147: Unable to compile c++ code due to a bug in Rules.make

#147: Unable to compile c++ code due to a bug in Rules.make
---------------------+------------------------------------------------------
Reporter: jhofier | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone:
Component: default | Version: 6.3.0
Keywords: |
---------------------+------------------------------------------------------
There are bugs in Rules.make pointing to CC compiler instead of C++ for
c++ code. Failed compilations in r.terraflow and i.atcorr.

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

#147: Unable to compile c++ code due to a bug in Rules.make
----------------------+-----------------------------------------------------
  Reporter: jhofier | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.3.1
Component: default | Version: 6.3.0
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Changes (by 4everskiff):

  * milestone: => 6.3.1

Comment:

Could you please specify the platform?
Thanks

Marco

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

Linux-Mandriva

Jaro

$(OBJDIR)/%.o : %.cc $(LOCAL_HEADERS) $(EXTRA_HEADERS)
  $(MAKE) $(OBJDIR)
  $(CC) $(CXXFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(EXTRA_INC) $(INC) -o $@ -c $<

$(OBJDIR)/%.o : %.cpp $(LOCAL_HEADERS) $(EXTRA_HEADERS)
  $(MAKE) $(OBJDIR)
  $(CC) $(CXXFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(EXTRA_INC) $(INC) -o $@ -c $<

GRASS GIS wrote:

#147: Unable to compile c++ code due to a bug in Rules.make
----------------------+-----------------------------------------------------
  Reporter: jhofier | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new Priority: major | Milestone: 6.3.1 Component: default | Version: 6.3.0 Resolution: | Keywords: ----------------------+-----------------------------------------------------
Changes (by 4everskiff):

  * milestone: => 6.3.1

Comment:

Could you please specify the platform?
Thanks

Marco

#147: Unable to compile c++ code due to a bug in Rules.make
----------------------+-----------------------------------------------------
  Reporter: jhofier | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.3.1
Component: default | Version: 6.3.0
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by glynn):

Replying to [ticket:147 jhofier]:

This was fixed in r30342, but was not back-ported.

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

#147: Unable to compile c++ code due to a bug in Rules.make
----------------------+-----------------------------------------------------
  Reporter: jhofier | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.3.1
Component: default | Version: 6.3.0
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by neteler):

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

Comment:

Now it is.

Markus

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