[GRASS-dev] [GRASS GIS] #3464: winGRASS compilation: Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:144: Syntax error at 'va_list'

GRASS GIS trac at osgeo.org
Fri Dec 8 13:19:42 PST 2017


#3464: winGRASS compilation: Error:
C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:144: Syntax error at
'va_list'
------------------------+---------------------------------
  Reporter:  hellik     |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  7.4.0
 Component:  Compiling  |    Version:  svn-releasebranch74
Resolution:             |   Keywords:
       CPU:  All        |   Platform:  MSWindows 8
------------------------+---------------------------------

Comment (by neteler):

 The error seems to be here:

 Replying to [ticket:3464 hellik]:
 > {{{
 > ...
 > Status: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
 > -I/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include
 > -I/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include
 -D__GLIBC_HAVE_LONG_LONG
 > -U __GNUC__ -dD "-Dinline=" "-D__inline__=" "-D__extension__="
 "-D_Bool=uint8_t"
 > "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1"
 > c:/users/landa/appdata/local/temp/tmpwjeiup.h
 > Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
 > -I/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include
 > -I/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include
 > -D__GLIBC_HAVE_LONG_LONG: In file included from
 C:/msys64/mingw64/x86_64-w64-mingw32/include/_mingw.h:275:0,
 > ...
 > Error:
 C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include/grass/defs/gis.h:157:
 Syntax error at 'va_list'
 > Status: Processing description list.
 > Error: Typedef "__time64_t" depends on an unknown typedef "__int64".
 Typedef "__time64_t" will not be output
 > ...
 > Error: Struct "_stat64" depends on an unknown typedef "__int64". Struct
 "_stat64" will not be output
 > ...
 > }}}

 Some related discussion:
 https://lists.osgeo.org/pipermail/grass-dev/2017-November/086585.html

 Apparently more ifdefs are needed...

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



More information about the grass-dev mailing list