[GRASS-dev] [GRASS GIS] #405: trunk compile error: static declaration of ‘encoding’ follows non-static declaration

#405: trunk compile error: static declaration of ‘encoding’ follows non-static
declaration
-------------------------+--------------------------------------------------
Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
svn from this morning:

{{{
gcc -I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include
-Wall -g -O2 -fPIC -I/usr/include/freetype2 -DPACKAGE=\""grasslibs"\"
-I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include -o
OBJ.i486-pc-linux-gnu/Font.o -c Font.c
Font.c:9: error: static declaration of ‘encoding’ follows non-static
declarationdriver.h:21: error: previous declaration of ‘encoding’ was here
make: *** [OBJ.i486-pc-linux-gnu/Font.o] Erreur 1
}}}

Moritz

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

#405: trunk compile error: static declaration of ‘encoding’ follows non-static
declaration
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 7.0.0
Component: default | Version: svn-trunk
Resolution: | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by mlennert):

  * priority: major => critical
  * version: unspecified => svn-trunk
  * milestone: 6.4.0 => 7.0.0

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

#405: trunk compile error: static declaration of ‘encoding’ follows non-static
declaration
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 7.0.0
Component: default | Version: svn-trunk
Resolution: | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by glynn):

Replying to [ticket:405 mlennert]:

{{{
Font.c:9: error: static declaration of ‘encoding’ follows non-static
declaration
driver.h:21: error: previous declaration of ‘encoding’ was here
}}}

Fixed in r34932.

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

#405: trunk compile error: static declaration of ‘encoding’ follows non-static
declaration
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: critical | Milestone: 7.0.0
Component: default | Version: svn-trunk
Resolution: fixed | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by martinl):

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

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