qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 02/47] trace: switch io/ directory to modular


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2 02/47] trace: switch io/ directory to modular trace.h file
Date: Wed, 11 Jan 2017 18:34:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1


On 11/01/2017 18:16, Daniel P. Berrange wrote:
> I've been trying to get such relative includes to work most of today
> and not having much luck. The problem is that while it works in 95%
> of the time, there are some source files and header files which need
> to include trace.h files not in their local directory

Which are they?  I wouldn't have expected that to happen.

> and we can't
> use relative includes for that, since the relative include gets
> resolved wrt the source file doing the #include, but the trace.h
> file is in $BUILD_DIR.

Why would #include "../foo/trace.h" be resolved against the source
file's path only, and not against all -I directories?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]