[GRASS-dev] [GRASS GIS] #1221: i.atcorr does not compile

#1221: i.atcorr does not compile
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Imagery | Version: svn-develbranch6
Keywords: i.atcorr | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------
I just updated from SVN after a make distclean. i.atcorr does not compile
but gives the following error (Mac OS X 10.6):

make: *** [default] Error 1
cmb-MBP-3:grass65_dev cmbarton$ cd
/Users/cmbarton/grass_dev/grass65_dev/imagery/i.atcorr
cmb-MBP-3:i.atcorr cmbarton$ make
../../include/Make/Module.make:25: warning: overriding commands for target
`install'
../../include/Make/Rules.make:90: warning: ignoring old commands for
target `install'
Makefile:15: warning: overriding commands for target
`/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-
darwin10.5.0/bin/i.atcorr'
../../include/Make/Module.make:15: warning: ignoring old commands for
target `/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-
darwin10.5.0/bin/i.atcorr'
c++ -I/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-
darwin10.5.0/include -arch i386 -arch x86_64
-DPACKAGE=\""grassmods"\"
-I/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-
darwin10.5.0/include -o OBJ.i386-apple-darwin10.5.0/GeomCond.o -c
GeomCond.cpp
GeomCond.cpp: In member function ‘void GeomCond::parse()’:
GeomCond.cpp:380: warning: format ‘%d’ expects type ‘int’, but argument 2
has type ‘long int’
GeomCond.cpp: In member function ‘void GeomCond::print()’:
GeomCond.cpp:430: error: too many initializers for ‘const std::string
[13]’
GeomCond.cpp: In member function ‘void GeomCond::parse()’:
GeomCond.cpp:380: warning: format ‘%d’ expects type ‘int’, but argument 2
has type ‘long int’
GeomCond.cpp: In member function ‘void GeomCond::print()’:
GeomCond.cpp:430: error: too many initializers for ‘const std::string
[13]’
lipo: can't figure out the architecture type of:
/var/folders/AK/AKpYwDw1EoWI+fFF02nvRk+++TI/-Tmp-//ccy2ixBd.out
make: *** [OBJ.i386-apple-darwin10.5.0/GeomCond.o] Error 1

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

#1221: i.atcorr does not compile
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.5.0
Component: Imagery | Version: svn-develbranch6
Resolution: fixed | Keywords: i.atcorr
  Platform: MacOSX | Cpu: OSX/Intel
-----------------------+----------------------------------------------------
Changes (by aghisla):

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

Comment:

Fixed in r44379, sorry for noise.

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

#1221: i.atcorr does not compile
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.5.0
Component: Imagery | Version: svn-develbranch6
Resolution: fixed | Keywords: i.atcorr
  Platform: MacOSX | Cpu: OSX/Intel
-----------------------+----------------------------------------------------

Comment(by cmbarton):

Thanks for the quick response. Tested this morning and problem solved.

Michael

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