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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=PnmuQsCGi6gzMsv9MyXzpa6vI7RY2EmXtIBB+qVciAlEl+r8Gadrd lIZqfcAuaXmoQk0Ccysf7Huj8Ew3Xy7AQEd80QI0gUX6ij93kYq3xArYK/CVy9NY ASSjUGM1W1czLBXUHeSyN38P+GoDG/4T7qmk2juEqyjbNLFPfmeV/s= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=Dwnm+EzQ/CTXJQEtBQ6ecoAS9Nk=; b=Rlw5MeoflUeKB4t4yBLd6/KpTTz8 d8JQ2ygkamhWv0f/eu4uJkKeGc4Cg5ttB5p5QO51PpBOwumXeT0kZC7J9bsMRvpj A9Q9zu8OnFehGvwMwp8sRg+wa6VE0b4UPYZbgnTDZ2GUKrI7V2iR7IIR+55TF/8u L20YMZr9i2BtEuY= 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 X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default] Date: Mon, 29 Jul 2013 18:49:32 +0200 Lines: 22 Message-ID: <87hafdmhur.fsf@Rainer.invalid> References: <20130729124408 DOT GE30069 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Corinna Vinschen writes: > It looks like this is a misbehaviour of gcc 4.7.3. There are > practically always non-existant default include dirs, not only on > Cygwin. If you try the same -Wmissing-include-dirs with gcc 4.8.1 on > x86_64 Cygwin, there won't be such a warning. I have no idea if that should be considered a bug or not, but the combination "-Werror -Wmissing-include-dirs" is rendered useless due to this. Since it most assuredly doesn't point to a system path it uses the current working directory instead in the final stage — so after expansion the driver inserts a literal "-I ../../include/w32api", which might silently pull in the wrong includes if the user happens to have some directory like that. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- 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