On 08/10/2011 05:02 PM, Jiri Denemark wrote:
>
> Shouldn't we use -isystem instead of -I for system headers?
That would be ideal but unfortunately QEMU_CFLAGS also contains output of
pkg-config --cflags which uses -I for header paths. We would need to convert
them to -isystem. And is -isystem even portable to other compilers (in case we
care about that)?
Well, it's really a pkg-config bug. It should check whether -isystem is
supported and use it if so.
IMHO just moving paths to qemu sources first is easier and the result is the
same.
Agree.
--
error compiling committee.c: too many arguments to function