X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=GE8vqaMw3bRd/19JuvnfP5sLbRkc5r1NO7hfYEzXUMm 33eYCoITSusm1/PbU/AzNXGmo6jgMJQfhO3RG3zjD4XJ4LRff6lV18LgSeQYQx9A AqOCp5HZUOqx5kQsCLg7HCKZil+DeCp9bO4HtNAMv+O6r5T/goJ2htLBujHdOY30 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=5oXp8KBoCpHe2Ef5ZPZtpbcv9Qc=; b=EyBsck9s85khiT4hF KWs3vVsEYG15bYl/x0fMvVfyeiMgAm5YevCVLJbcGC4nbMMgdYZTnP+bCAaYTaoA tF2jt/w3j+Rte5gIsT2y+zdKhH+5BHk1l/J+1AezHgfkAyzWyXxj5hRumAUYBemQ lnSNrhMdkD0hcDBpVZy5npq6j0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail.lysator.liu.se Message-ID: <531115A9.9070906@lysator.liu.se> Date: Sat, 01 Mar 2014 00:03:05 +0100 From: Peter Rosin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default] References: <5310F19A DOT 20207 AT lysator DOT liu DOT se> <951366443 DOT 20140301014945 AT yandex DOT ru> In-Reply-To: <951366443.20140301014945@yandex.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 2014-02-28 22:49, Andrey Repin wrote: > Greetings, Peter Rosin! > >> If I: > > $ : >>tmp.c >> $ gcc -E -Wmissing-include-dirs tmp.c >/dev/null > >> I get this annoying warning on stderr: > >> cc1: warning: ../../include/w32api: No such file or directory [enabled by default] > >> Searching the 'net suggests that it's an old bug: >> http://cygwin.com/ml/cygwin/2013-07/msg00509.html > > Let me guess... You have /usr/bin in $PATH. Specifically you have it preceding > /bin. > Remove it. Wasn't that problem that other way around? I.e. with /bin being the bad option? Anyway, let me guess... You didn't try the recipe. Please do that. And no, I do not have both /bin and /usr/bin in $PATH, and it doesn't matter which of them I have. Cheers, Peter -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple