Opened 5 years ago

Last modified 4 years ago

#3464 new defect

winGRASS compilation: Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:144: Syntax error at 'va_list'

Reported by: hellik Owned by: grass-dev@…
Priority: normal Milestone: 7.4.5
Component: Compiling Version: svn-releasebranch74
Keywords: Cc:
CPU: All Platform: MSWindows 8

Description

looking at the winGRASS compilation logs, there are quite a lot error messages like:

Status: Preprocessing c:\users\landa\appdata\local\temp\tmpt1iov5.h
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/tmpt1iov5.h
Status: Parsing c:\users\landa\appdata\local\temp\tmpt1iov5.h
Status: Processing description list.
Warning: Member "from" of Struct "DateTime" has been renamed to "_from" because it has the same name as a Python keyword.
Status: Writing to OBJ.x86_64-w64-mingw32/date.py.
Status: Wrapping complete.
GISRC=/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/demolocation/.grassrc75 GISBASE=C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32 PATH="/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/scripts:$PATH" PYTHONPATH="C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/etc/python;C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/gui/wxpython;$PYTHONPATH" PATH="/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/scripts:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/lib:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/lib:/usr/bin:/mingw64/bin/:/c/OSGeo4W64/bin:/c/msys64/usr/src/grass_trunk/mswindows/osgeo4w/lib:/c/msys64/usr/src/grass_trunk/mswindows/osgeo4w" LC_ALL=C LANG=C LANGUAGE=C ./ctypesgen.py --cpp "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" -lgrass_gis.7.5.svn -lintl-8   /c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include/grass/gis.h /c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include/grass/defs/gis.h /c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include/grass/colors.h /c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include/grass/defs/colors.h -o OBJ.x86_64-w64-mingw32/gis.py
Status: Preprocessing c:\users\landa\appdata\local\temp\tmpfj4azr.h
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/tmpfj4azr.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: 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:                  from C:/msys64/mingw64/x86_64-w64-mingw32/include/crtdefs.h:10,

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:                  from C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:9,

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:                  from C:\msys64\usr\src\grass_trunk\dist.x86_64-w64-mingw32\include\grass\gis.h:24,

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:                  from c:/users/landa/appdata/local/temp/tmpfj4azr.h:1:

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: C:/msys64/mingw64/x86_64-w64-mingw32/include/vadefs.h:35:2: error: #error VARARGS not implemented for this compiler

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:  #error VARARGS not implemented for this compiler

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:   ^

Status: Parsing c:\users\landa\appdata\local\temp\tmpfj4azr.h
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:144: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:150: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:156: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:161: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:170: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:176: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:182: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:188: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:381: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:382: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:383: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:393: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:394: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:395: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:529: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:538: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:543: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:545: Syntax error at ';'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:567: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:577: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:581: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:585: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:592: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:594: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:598: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:602: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:729: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:730: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:731: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:757: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:758: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:787: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:789: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:799: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:804: Syntax error at 'argp'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:811: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:813: Syntax error at ';'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:821: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:835: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:27: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:36: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:37: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:39: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:42: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:45: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:57: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:58: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:59: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:61: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:64: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:65: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:68: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:69: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:72: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:73: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:76: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:77: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:79: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:81: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:83: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:85: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:88: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:89: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:107: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:108: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:110: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:116: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:124: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:126: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:128: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:130: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:145: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:146: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:148: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:150: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:153: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:154: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:157: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:158: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:161: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:162: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:165: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:167: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:169: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:170: Syntax error at 'va_list'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/string_s.h:63: Syntax error at '{'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/string_s.h:64: Syntax error at ':'
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
Warning: Member "from" of Struct "DateTime" has been renamed to "_from" because it has the same name as a Python keyword.
Warning: Member "def" of Struct "Option" has been renamed to "_def" because it has the same name as a Python keyword.
Error: Struct "_stat64" depends on an unknown typedef "__int64". Struct "_stat64" will not be output
Warning: Could not parse macro "#define serialize_int32_le(buf,x) do { ( buf ) [ i0 ] = ( ( x ) >> i0 ) & i255 ; ( buf ) [ i1 ] = ( ( x ) >> i8 ) & i255 ; ( buf ) [ i2 ] = ( ( x ) >> i16 ) & i255 ; ( buf ) [ i3 ] = ( ( x ) >> i24 ) & i255 ; } while ( i0 )"
Warning: Could not parse macro "#define serialize_int32_be(buf,x) do { ( buf ) [ i0 ] = ( ( x ) >> i24 ) & i255 ; ( buf ) [ i1 ] = ( ( x ) >> i16 ) & i255 ; ( buf ) [ i2 ] = ( ( x ) >> i8 ) & i255 ; ( buf ) [ i3 ] = ( ( x ) >> i0 ) & i255 ; } while ( i0 )"
Status: Writing to OBJ.x86_64-w64-mingw32/gis.py.
Status: Wrapping complete.
GISRC=/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/demolocation/.grassrc75 GISBASE=C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32 PATH="/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/scripts:$PATH" PYTHONPATH="C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/etc/python;C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/gui/wxpython;$PYTHONPATH" PATH="/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/scripts:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/lib:/c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/lib:/usr/bin:/mingw64/bin/:/c/OSGeo4W64/bin:/c/msys64/usr/src/grass_trunk/mswindows/osgeo4w/lib:/c/msys64/usr/src/grass_trunk/mswindows/osgeo4w" LC_ALL=C LANG=C LANGUAGE=C ./ctypesgen.py --cpp "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" -lgrass_raster.7.5.svn   /c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include/grass/raster.h /c/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include/grass/defs/raster.h -o OBJ.x86_64-w64-mingw32/raster.py
Status: Preprocessing c:\users\landa\appdata\local\temp\tmpwjeiup.h
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,

Change History (10)

in reply to:  description ; comment:1 by neteler, 5 years ago

The error seems to be here:

Replying to 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...

in reply to:  1 comment:2 by hellik, 5 years ago

Replying to neteler:

The error seems to be here:

Replying to 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...

similar error message also seen here while compiling in Debian GNU/Linux 9 (stretch) 64 Bit.

comment:3 by neteler, 5 years ago

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:4 by neteler, 4 years ago

Milestone: 7.4.17.4.2

comment:5 by martinl, 4 years ago

What is the state of this ticket?

in reply to:  5 comment:6 by hellik, 4 years ago

Replying to martinl:

What is the state of this ticket?

still there, and not only in winGRASS compiling, see above.

comment:7 by neteler, 4 years ago

See also #3384 and #3368

comment:8 by neteler, 4 years ago

Milestone: 7.4.27.4.3

Ticket retargeted after milestone closed

comment:9 by martinl, 4 years ago

Milestone: 7.4.37.4.4

Bump milestone to 7.4.4

comment:10 by neteler, 4 years ago

Milestone: 7.4.47.4.5

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.