$ ~/tinkerspace/qemu/configure --target-list=x86_64-softmmu --disable-gfx-check --disable-sdl $ make CFLAGS=-std=c89 -j8 CC net.o CC slirp/cksum.o CC slirp/if.o CC slirp/ip_icmp.o In file included from /home/kashyapc/tinker-space/qemu/slirp/cksum.c:33: /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: C++ style comments are not allowed in ISO C90 //#define DEBUG 1 ^ /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/slirp/slirp.h:21, from /home/kashyapc/tinker-space/qemu/slirp/cksum.c:33: /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: C++ style comments are not allowed in ISO C90 //#undef WORDS_BIGENDIAN ^ /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: (this will be reported only once per input file) CC slirp/ip_input.o In file included from /home/kashyapc/tinker-space/qemu/slirp/if.c:8: /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: C++ style comments are not allowed in ISO C90 //#define DEBUG 1 ^ /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/slirp/slirp.h:21, from /home/kashyapc/tinker-space/qemu/slirp/if.c:8: /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: C++ style comments are not allowed in ISO C90 //#undef WORDS_BIGENDIAN ^ /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/slirp/ip_icmp.c:33: /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: C++ style comments are not allowed in ISO C90 //#define DEBUG 1 ^ /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/slirp/slirp.h:21, from /home/kashyapc/tinker-space/qemu/slirp/ip_icmp.c:33: /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: C++ style comments are not allowed in ISO C90 //#undef WORDS_BIGENDIAN ^ /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: (this will be reported only once per input file) CC slirp/ip_output.o In file included from /home/kashyapc/tinker-space/qemu/slirp/ip_input.c:41: /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: C++ style comments are not allowed in ISO C90 //#define DEBUG 1 ^ /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/slirp/slirp.h:21, from /home/kashyapc/tinker-space/qemu/slirp/ip_input.c:41: /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: C++ style comments are not allowed in ISO C90 //#undef WORDS_BIGENDIAN ^ /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: (this will be reported only once per input file) CC slirp/slirp.o CC slirp/mbuf.o In file included from /home/kashyapc/tinker-space/qemu/slirp/ip_output.c:41: /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: C++ style comments are not allowed in ISO C90 //#define DEBUG 1 ^ /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/slirp/slirp.h:21, from /home/kashyapc/tinker-space/qemu/slirp/ip_output.c:41: /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: C++ style comments are not allowed in ISO C90 //#undef WORDS_BIGENDIAN ^ /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/slirp/mbuf.c:18: /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: C++ style comments are not allowed in ISO C90 //#define DEBUG 1 ^ /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/slirp/slirp.h:21, from /home/kashyapc/tinker-space/qemu/slirp/mbuf.c:18: /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: C++ style comments are not allowed in ISO C90 //#undef WORDS_BIGENDIAN ^ /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/qemu-common.h:80, from /home/kashyapc/tinker-space/qemu/net.c:24: /home/kashyapc/tinker-space/qemu/bswap.h:52:8: error: unknown type name ‘inline’ static inline uint16_t bswap16(uint16_t x) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:52:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bswap16’ static inline uint16_t bswap16(uint16_t x) ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:57:8: error: unknown type name ‘inline’ static inline uint32_t bswap32(uint32_t x) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:57:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bswap32’ static inline uint32_t bswap32(uint32_t x) ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:62:8: error: unknown type name ‘inline’ static inline uint64_t bswap64(uint64_t x) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:62:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bswap64’ static inline uint64_t bswap64(uint64_t x) ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:69:14: error: expected ‘;’ before ‘void’ static inline void bswap16s(uint16_t *s) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:74:14: error: expected ‘;’ before ‘void’ static inline void bswap32s(uint32_t *s) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:79:14: error: expected ‘;’ before ‘void’ static inline void bswap64s(uint64_t *s) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be16_to_cpu’ CPU_CONVERT(be, 16, uint16_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_be16’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be16_to_cpup’ CPU_CONVERT(be, 16, uint16_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be32_to_cpu’ CPU_CONVERT(be, 32, uint32_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_be32’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be32_to_cpup’ CPU_CONVERT(be, 32, uint32_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be64_to_cpu’ CPU_CONVERT(be, 64, uint64_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_be64’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be64_to_cpup’ CPU_CONVERT(be, 64, uint64_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le16_to_cpu’ CPU_CONVERT(le, 16, uint16_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_le16’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le16_to_cpup’ CPU_CONVERT(le, 16, uint16_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le32_to_cpu’ CPU_CONVERT(le, 32, uint32_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_le32’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le32_to_cpup’ CPU_CONVERT(le, 32, uint32_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le64_to_cpu’ CPU_CONVERT(le, 64, uint64_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_le64’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le64_to_cpup’ CPU_CONVERT(le, 64, uint64_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:150:14: error: expected ‘;’ before ‘void’ static inline void cpu_to_le16wu(uint16_t *p, uint16_t v) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:158:14: error: expected ‘;’ before ‘void’ static inline void cpu_to_le32wu(uint32_t *p, uint32_t v) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:168:8: error: unknown type name ‘inline’ static inline uint16_t le16_to_cpupu(const uint16_t *p) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:168:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le16_to_cpupu’ static inline uint16_t le16_to_cpupu(const uint16_t *p) ^~~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:174:8: error: unknown type name ‘inline’ static inline uint32_t le32_to_cpupu(const uint32_t *p) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:174:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le32_to_cpupu’ static inline uint32_t le32_to_cpupu(const uint32_t *p) ^~~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:180:8: error: unknown type name ‘inline’ static inline uint32_t be32_to_cpupu(const uint32_t *p) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:180:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be32_to_cpupu’ static inline uint32_t be32_to_cpupu(const uint32_t *p) ^~~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:186:14: error: expected ‘;’ before ‘void’ static inline void cpu_to_be16wu(uint16_t *p, uint16_t v) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:194:14: error: expected ‘;’ before ‘void’ static inline void cpu_to_be32wu(uint32_t *p, uint32_t v) ^~~~~ ; In file included from /home/kashyapc/tinker-space/qemu/net.c:26: /home/kashyapc/tinker-space/qemu/console.h:141:14: error: expected ‘;’ before ‘int’ static inline int is_buffer_shared(DisplaySurface *surface) ^~~~ ; /home/kashyapc/tinker-space/qemu/slirp/if.c: In function ‘if_init’: /home/kashyapc/tinker-space/qemu/slirp/if.c:39:9: error: C++ style comments are not allowed in ISO C90 // sl_compress_init(&comp_s); ^ /home/kashyapc/tinker-space/qemu/slirp/if.c:39:9: error: (this will be reported only once per input file) /home/kashyapc/tinker-space/qemu/console.h:146:14: error: expected ‘;’ before ‘void’ static inline void register_displaychangelistener(DisplayState *ds, DisplayChangeListener *dcl) ^~~~~ ; /home/kashyapc/tinker-space/qemu/console.h:152:14: error: expected ‘;’ before ‘void’ static inline void dpy_update(DisplayState *s, int x, int y, int w, int h) ^~~~~ ; /home/kashyapc/tinker-space/qemu/console.h:161:14: error: expected ‘;’ before ‘void’ static inline void dpy_resize(DisplayState *s) ^~~~~ ; /home/kashyapc/tinker-space/qemu/console.h:170:14: error: expected ‘;’ before ‘void’ static inline void dpy_setdata(DisplayState *s) ^~~~~ ; /home/kashyapc/tinker-space/qemu/console.h:179:14: error: expected ‘;’ before ‘void’ static inline void dpy_refresh(DisplayState *s) ^~~~~ ; /home/kashyapc/tinker-space/qemu/console.h:188:14: error: expected ‘;’ before ‘void’ static inline void dpy_copy(struct DisplayState *s, int src_x, int src_y, ^~~~~ ; /home/kashyapc/tinker-space/qemu/console.h:200:14: error: expected ‘;’ before ‘void’ static inline void dpy_fill(struct DisplayState *s, int x, int y, ^~~~~ ; /home/kashyapc/tinker-space/qemu/console.h:209:14: error: expected ‘;’ before ‘void’ static inline void dpy_cursor(struct DisplayState *s, int x, int y) { ^~~~~ ; /home/kashyapc/tinker-space/qemu/console.h:217:14: error: expected ‘;’ before ‘int’ static inline int ds_get_linesize(DisplayState *ds) ^~~~ ; /home/kashyapc/tinker-space/qemu/console.h:222:8: error: unknown type name ‘inline’ static inline uint8_t* ds_get_data(DisplayState *ds) ^~~~~~ /home/kashyapc/tinker-space/qemu/console.h:222:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token static inline uint8_t* ds_get_data(DisplayState *ds) ^ /home/kashyapc/tinker-space/qemu/console.h:227:14: error: expected ‘;’ before ‘int’ static inline int ds_get_width(DisplayState *ds) ^~~~ ; /home/kashyapc/tinker-space/qemu/console.h:232:14: error: expected ‘;’ before ‘int’ static inline int ds_get_height(DisplayState *ds) ^~~~ ; /home/kashyapc/tinker-space/qemu/console.h:237:14: error: expected ‘;’ before ‘int’ static inline int ds_get_bits_per_pixel(DisplayState *ds) ^~~~ ; /home/kashyapc/tinker-space/qemu/console.h:242:14: error: expected ‘;’ before ‘int’ static inline int ds_get_bytes_per_pixel(DisplayState *ds) ^~~~ ; /home/kashyapc/tinker-space/qemu/console.h:248:14: error: expected ‘;’ before ‘void’ static inline void console_write_ch(console_ch_t *dest, uint32_t ch) ^~~~~ ; In file included from /home/kashyapc/tinker-space/qemu/net.c:27: /home/kashyapc/tinker-space/qemu/sysemu.h:35:1: error: C++ style comments are not allowed in ISO C90 // Please implement a power failure function to signal the OS ^ /home/kashyapc/tinker-space/qemu/sysemu.h:35:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/net.c:30: /home/kashyapc/tinker-space/qemu/audio/audio.h:147:14: error: expected ‘;’ before ‘void’ static inline void *advance (void *p, int incr) ^~~~~ ; make: *** [/home/kashyapc/tinker-space/qemu/rules.mak:3: slirp/if.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [/home/kashyapc/tinker-space/qemu/rules.mak:3: slirp/cksum.o] Error 1 In file included from /home/kashyapc/tinker-space/qemu/slirp/ip_input.c:42: /home/kashyapc/tinker-space/qemu/slirp/ip_input.c: In function ‘ip_input’: /home/kashyapc/tinker-space/qemu/osdep.h:35:22: error: expected declaration specifiers or ‘...’ before ‘(’ token const typeof(((type *) 0)->member) *__mptr = (ptr); \ ^ /home/kashyapc/tinker-space/qemu/slirp/ip_input.c:194:18: note: in expansion of macro ‘container_of’ fp = container_of(l, struct ipq, ip_link); ^~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/osdep.h:36:28: error: ‘__mptr’ undeclared (first use in this function); did you mean ‘si_ptr’? (type *) ((char *) __mptr - offsetof(type, member));}) ^~~~~~ /home/kashyapc/tinker-space/qemu/slirp/ip_input.c:194:18: note: in expansion of macro ‘container_of’ fp = container_of(l, struct ipq, ip_link); ^~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/osdep.h:36:28: note: each undeclared identifier is reported only once for each function it appears in (type *) ((char *) __mptr - offsetof(type, member));}) ^~~~~~ /home/kashyapc/tinker-space/qemu/slirp/ip_input.c:194:18: note: in expansion of macro ‘container_of’ fp = container_of(l, struct ipq, ip_link); ^~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/slirp/ip_input.c: In function ‘ip_slowtimo’: /home/kashyapc/tinker-space/qemu/osdep.h:35:22: error: expected declaration specifiers or ‘...’ before ‘(’ token const typeof(((type *) 0)->member) *__mptr = (ptr); \ ^ /home/kashyapc/tinker-space/qemu/slirp/ip_input.c:481:26: note: in expansion of macro ‘container_of’ struct ipq *fp = container_of(l, struct ipq, ip_link); ^~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/osdep.h:36:28: error: ‘__mptr’ undeclared (first use in this function); did you mean ‘si_ptr’? (type *) ((char *) __mptr - offsetof(type, member));}) ^~~~~~ /home/kashyapc/tinker-space/qemu/slirp/ip_input.c:481:26: note: in expansion of macro ‘container_of’ struct ipq *fp = container_of(l, struct ipq, ip_link); ^~~~~~~~~~~~ In file included from /home/kashyapc/tinker-space/qemu/qemu-common.h:80, from /home/kashyapc/tinker-space/qemu/slirp/slirp.c:24: /home/kashyapc/tinker-space/qemu/bswap.h:52:8: error: unknown type name ‘inline’ static inline uint16_t bswap16(uint16_t x) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:52:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bswap16’ static inline uint16_t bswap16(uint16_t x) ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:57:8: error: unknown type name ‘inline’ static inline uint32_t bswap32(uint32_t x) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:57:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bswap32’ static inline uint32_t bswap32(uint32_t x) ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:62:8: error: unknown type name ‘inline’ static inline uint64_t bswap64(uint64_t x) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:62:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bswap64’ static inline uint64_t bswap64(uint64_t x) ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:69:14: error: expected ‘;’ before ‘void’ static inline void bswap16s(uint16_t *s) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:74:14: error: expected ‘;’ before ‘void’ static inline void bswap32s(uint32_t *s) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:79:14: error: expected ‘;’ before ‘void’ static inline void bswap64s(uint64_t *s) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be16_to_cpu’ CPU_CONVERT(be, 16, uint16_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_be16’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be16_to_cpup’ CPU_CONVERT(be, 16, uint16_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:127:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be32_to_cpu’ CPU_CONVERT(be, 32, uint32_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_be32’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be32_to_cpup’ CPU_CONVERT(be, 32, uint32_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:128:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be64_to_cpu’ CPU_CONVERT(be, 64, uint64_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_be64’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be64_to_cpup’ CPU_CONVERT(be, 64, uint64_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:129:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le16_to_cpu’ CPU_CONVERT(le, 16, uint16_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_le16’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le16_to_cpup’ CPU_CONVERT(le, 16, uint16_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:131:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le32_to_cpu’ CPU_CONVERT(le, 32, uint32_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_le32’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le32_to_cpup’ CPU_CONVERT(le, 32, uint32_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:132:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:97:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le64_to_cpu’ CPU_CONVERT(le, 64, uint64_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:97:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpu(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:8: error: unknown type name ‘inline’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:102:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_to_le64’ static inline type cpu_to_ ## endian ## size(type v)\ ^~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:107:15: error: expected ‘;’ before ‘void’ static inline void endian ## size ## _to_cpus(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:112:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## s(type *p)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ make: *** [/home/kashyapc/tinker-space/qemu/rules.mak:3: slirp/ip_icmp.o] Error 1 /home/kashyapc/tinker-space/qemu/bswap.h:117:8: error: unknown type name ‘inline’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le64_to_cpup’ CPU_CONVERT(le, 64, uint64_t) ^~ /home/kashyapc/tinker-space/qemu/bswap.h:117:20: note: in definition of macro ‘CPU_CONVERT’ static inline type endian ## size ## _to_cpup(const type *p)\ ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:122:15: error: expected ‘;’ before ‘void’ static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\ ^~~~ /home/kashyapc/tinker-space/qemu/bswap.h:133:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:150:14: error: expected ‘;’ before ‘void’ static inline void cpu_to_le16wu(uint16_t *p, uint16_t v) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:158:14: error: expected ‘;’ before ‘void’ static inline void cpu_to_le32wu(uint32_t *p, uint32_t v) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:168:8: error: unknown type name ‘inline’ static inline uint16_t le16_to_cpupu(const uint16_t *p) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:168:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le16_to_cpupu’ static inline uint16_t le16_to_cpupu(const uint16_t *p) ^~~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:174:8: error: unknown type name ‘inline’ static inline uint32_t le32_to_cpupu(const uint32_t *p) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:174:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le32_to_cpupu’ static inline uint32_t le32_to_cpupu(const uint32_t *p) ^~~~~~~~~~~~~ make: *** [/home/kashyapc/tinker-space/qemu/rules.mak:3: slirp/ip_input.o] Error 1 /home/kashyapc/tinker-space/qemu/bswap.h:180:8: error: unknown type name ‘inline’ static inline uint32_t be32_to_cpupu(const uint32_t *p) ^~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:180:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be32_to_cpupu’ static inline uint32_t be32_to_cpupu(const uint32_t *p) ^~~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/bswap.h:186:14: error: expected ‘;’ before ‘void’ static inline void cpu_to_be16wu(uint16_t *p, uint16_t v) ^~~~~ ; /home/kashyapc/tinker-space/qemu/bswap.h:194:14: error: expected ‘;’ before ‘void’ static inline void cpu_to_be32wu(uint32_t *p, uint32_t v) ^~~~~ ; In file included from /home/kashyapc/tinker-space/qemu/slirp/slirp.c:26: /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: C++ style comments are not allowed in ISO C90 //#define DEBUG 1 ^ make: *** [/home/kashyapc/tinker-space/qemu/rules.mak:3: slirp/ip_output.o] Error 1 /home/kashyapc/tinker-space/qemu/slirp/slirp.h:6:1: error: (this will be reported only once per input file) In file included from /home/kashyapc/tinker-space/qemu/slirp/slirp.h:21, from /home/kashyapc/tinker-space/qemu/slirp/slirp.c:26: /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: C++ style comments are not allowed in ISO C90 //#undef WORDS_BIGENDIAN ^ /home/kashyapc/tinker-space/qemu/slirp/slirp_config.h:89:1: error: (this will be reported only once per input file) make: *** [/home/kashyapc/tinker-space/qemu/rules.mak:3: slirp/mbuf.o] Error 1 In file included from /home/kashyapc/tinker-space/qemu/hw/hw.h:6, from /home/kashyapc/tinker-space/qemu/slirp/slirp.c:27: /home/kashyapc/tinker-space/qemu/hw/irq.h:12:14: error: expected ‘;’ before ‘void’ static inline void qemu_irq_raise(qemu_irq irq) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/irq.h:17:14: error: expected ‘;’ before ‘void’ static inline void qemu_irq_lower(qemu_irq irq) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/irq.h:22:14: error: expected ‘;’ before ‘void’ static inline void qemu_irq_pulse(qemu_irq irq) ^~~~~ ; In file included from /home/kashyapc/tinker-space/qemu/slirp/slirp.c:27: /home/kashyapc/tinker-space/qemu/hw/hw.h:46:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_ubyte(QEMUFile *f, unsigned int v) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:59:14: error: expected ‘;’ before ‘unsigned’ static inline unsigned int qemu_get_ubyte(QEMUFile *f) ^~~~~~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:78:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_be64s(QEMUFile *f, const uint64_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:83:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_be32s(QEMUFile *f, const uint32_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:88:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_be16s(QEMUFile *f, const uint16_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:93:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_8s(QEMUFile *f, const uint8_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:98:14: error: expected ‘;’ before ‘void’ static inline void qemu_get_be64s(QEMUFile *f, uint64_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:103:14: error: expected ‘;’ before ‘void’ static inline void qemu_get_be32s(QEMUFile *f, uint32_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:108:14: error: expected ‘;’ before ‘void’ static inline void qemu_get_be16s(QEMUFile *f, uint16_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:113:14: error: expected ‘;’ before ‘void’ static inline void qemu_get_8s(QEMUFile *f, uint8_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:118:1: error: C++ style comments are not allowed in ISO C90 // Signed versions for type safety ^ /home/kashyapc/tinker-space/qemu/hw/hw.h:118:1: error: (this will be reported only once per input file) /home/kashyapc/tinker-space/qemu/hw/hw.h:119:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_sbuffer(QEMUFile *f, const int8_t *buf, int size) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:124:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_sbe16(QEMUFile *f, int v) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:129:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_sbe32(QEMUFile *f, int v) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:134:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_sbe64(QEMUFile *f, int64_t v) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:139:8: error: unknown type name ‘inline’ static inline size_t qemu_get_sbuffer(QEMUFile *f, int8_t *buf, int size) ^~~~~~ /home/kashyapc/tinker-space/qemu/hw/hw.h:139:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qemu_get_sbuffer’ static inline size_t qemu_get_sbuffer(QEMUFile *f, int8_t *buf, int size) ^~~~~~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/hw/hw.h:144:14: error: expected ‘;’ before ‘int’ static inline int qemu_get_sbe16(QEMUFile *f) ^~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:149:14: error: expected ‘;’ before ‘int’ static inline int qemu_get_sbe32(QEMUFile *f) ^~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:154:8: error: unknown type name ‘inline’ static inline int64_t qemu_get_sbe64(QEMUFile *f) ^~~~~~ /home/kashyapc/tinker-space/qemu/hw/hw.h:154:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qemu_get_sbe64’ static inline int64_t qemu_get_sbe64(QEMUFile *f) ^~~~~~~~~~~~~~ /home/kashyapc/tinker-space/qemu/hw/hw.h:159:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_s8s(QEMUFile *f, const int8_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:164:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_sbe16s(QEMUFile *f, const int16_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:169:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_sbe32s(QEMUFile *f, const int32_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:174:14: error: expected ‘;’ before ‘void’ static inline void qemu_put_sbe64s(QEMUFile *f, const int64_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:179:14: error: expected ‘;’ before ‘void’ static inline void qemu_get_s8s(QEMUFile *f, int8_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:184:14: error: expected ‘;’ before ‘void’ static inline void qemu_get_sbe16s(QEMUFile *f, int16_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:189:14: error: expected ‘;’ before ‘void’ static inline void qemu_get_sbe32s(QEMUFile *f, int32_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/hw/hw.h:194:14: error: expected ‘;’ before ‘void’ static inline void qemu_get_sbe64s(QEMUFile *f, int64_t *pv) ^~~~~ ; /home/kashyapc/tinker-space/qemu/slirp/slirp.c: In function ‘slirp_init’: /home/kashyapc/tinker-space/qemu/slirp/slirp.c:176:5: error: C++ style comments are not allowed in ISO C90 // debug_init("/tmp/slirp.log", DEBUG_DEFAULT); ^ /home/kashyapc/tinker-space/qemu/slirp/slirp.c:176:5: error: (this will be reported only once per input file) make: *** [/home/kashyapc/tinker-space/qemu/rules.mak:3: net.o] Error 1 make: *** [/home/kashyapc/tinker-space/qemu/rules.mak:3: slirp/slirp.o] Error 1