Re: [Qemu-devel] [PATCH v2] qemu 1.7.0 does not build on NetBSD

2014-01-21 Thread Michael Tokarev
18.01.2014 17:47, Martin Husemann wrote: > Do not rely on int8_t (and friends) not being preprocessor > symbols (or symbols expanding to themselves). On NetBSD (for example) the > glue(u, SDATA_TYPE) results in u__int8_t, which is undefined. There is no way > to stop cpp expanding inner macros,

Re: [Qemu-devel] [PATCH v2] qemu 1.7.0 does not build on NetBSD

2014-01-21 Thread Andreas Färber
Am 18.01.2014 14:47, schrieb Martin Husemann: > Do not rely on int8_t (and friends) not being preprocessor > symbols (or symbols expanding to themselves). On NetBSD (for example) the > glue(u, SDATA_TYPE) results in u__int8_t, which is undefined. There is no way > to stop cpp expanding inner ma

Re: [Qemu-devel] [PATCH v2] qemu 1.7.0 does not build on NetBSD

2014-01-21 Thread Richard Henderson
On 01/18/2014 05:59 AM, Peter Maydell wrote: > On 18 January 2014 13:47, Martin Husemann wrote: >> Do not rely on int8_t (and friends) not being preprocessor >> symbols (or symbols expanding to themselves). On NetBSD (for example) the >> glue(u, SDATA_TYPE) results in u__int8_t, which is undefi

Re: [Qemu-devel] [PATCH v2] qemu 1.7.0 does not build on NetBSD

2014-01-18 Thread Peter Maydell
On 18 January 2014 13:47, Martin Husemann wrote: > Do not rely on int8_t (and friends) not being preprocessor > symbols (or symbols expanding to themselves). On NetBSD (for example) the > glue(u, SDATA_TYPE) results in u__int8_t, which is undefined. There is no way > to stop cpp expanding inne

[Qemu-devel] [PATCH v2] qemu 1.7.0 does not build on NetBSD

2014-01-18 Thread Martin Husemann
Do not rely on int8_t (and friends) not being preprocessor symbols (or symbols expanding to themselves). On NetBSD (for example) the glue(u, SDATA_TYPE) results in u__int8_t, which is undefined. There is no way to stop cpp expanding inner macros, so just add the few lines explicitly and get ri