[GRASS-dev] GRASS 7: Potential ctype issue? "Could not parse macro"

Markus Neteler neteler at osgeo.org
Mon Feb 4 07:45:56 PST 2013


Hi,

I just recompiled G7 and saw this one:

...
Status: Preprocessing /tmp/tmpkUdn5x.h
Status: gcc -E  -D_FILE_OFFSET_BITS=64
-I/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/include
-I/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/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" /tmp/tmpkUdn5x.h
Status: Preprocessing /tmp/tmpAnzlUs.h
Status: gcc -E  -D_FILE_OFFSET_BITS=64
-I/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/include
-I/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/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" /tmp/tmpAnzlUs.h
Status: Preprocessing /tmp/tmpgQrOVu.h
Status: gcc -E  -D_FILE_OFFSET_BITS=64
-I/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/include
-I/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/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" /tmp/tmpgQrOVu.h
Status: Parsing /tmp/tmpgQrOVu.h
Status: Parsing /tmp/tmpAnzlUs.h
Status: Processing description list.
Status: Processing description list.
Status: Writing to OBJ.x86_64-unknown-linux-gnu/dbmi.py.
Status: Wrapping complete.
sed -f fix.sed OBJ.x86_64-unknown-linux-gnu/dbmi.py >
/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/dbmi.py
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.
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-unknown-linux-gnu/gis.py.
Status: Wrapping complete.
...

Anything serious (esp. "Could not parse macro") or can it be happily ignored?

Markus


More information about the grass-dev mailing list