Re: [Qemu-devel] [PATCH] w32: Always compile with __builtin_ffs

2013-02-16 Thread Jacob Kroon
Hi Stefan, On Sat, Feb 16, 2013 at 7:30 PM, Stefan Weil wrote: > Not all MinGW build environments include a library which provides ffs(), > and some versions of gcc create a function call instead of inline code. > > When gcc is called with -ansi, it will always create a function call. > This usua

[Qemu-devel] [PATCH] w32: Always compile with __builtin_ffs

2013-02-16 Thread Stefan Weil
Not all MinGW build environments include a library which provides ffs(), and some versions of gcc create a function call instead of inline code. When gcc is called with -ansi, it will always create a function call. This usually results in an unresolved symbol "ffs" at link time. The patch enforce