cc1: warning: ../../include/w32api: No such file or directory [enabled by default]

JonY 10walls@gmail.com
Mon Jul 29 12:44:00 GMT 2013


On 7/29/2013 20:19, Achim Gratz wrote:
> Achim Gratz <Stromeko <at> NexGo.DE> writes:
>> The above warning appears when -Wmissing-include-dirs is in effect (and
>> aborts compilation if -Werror is also given).  The missing include path
>> seems to be produced by the following compiler spec:
>>
>> %(cpp_cpu) [...] %{!nostdinc:%{!mno-win32:-idirafter ../include/w32api%s
>> -idirafter ../../include/w32api%s}}
>>
>> which gets expanded into
>>
>> -idirafter /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api
>> -idirafter ../../include/w32api
> 
> If I crate a link /usr/include -> /include then the warning / error is not
> produced.  Since I don't think /include is supposed to exist on Cygwin, it
> seems the compiler spec is wrong?
> 

Honestly, I have no idea, ../../include/w32api sounds too high up the tree.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130729/41fd1891/attachment.sig>


More information about the Cygwin mailing list