From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25567 invoked by alias); 29 Jul 2013 16:49:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25547 invoked by uid 89); 29 Jul 2013 16:49:53 -0000 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 Received: from Unknown (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 29 Jul 2013 16:49:51 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V3qdj-0005SG-UK for cygwin@cygwin.com; Mon, 29 Jul 2013 18:49:43 +0200 Received: from pd9eb4dd4.dip0.t-ipconnect.de ([217.235.77.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Jul 2013 18:49:43 +0200 Received: from Stromeko by pd9eb4dd4.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Jul 2013 18:49:43 +0200 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default] Date: Mon, 29 Jul 2013 16:58:00 -0000 Message-ID: <87hafdmhur.fsf@Rainer.invalid> References: <20130729124408.GE30069@calimero.vinschen.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) X-SW-Source: 2013-07/txt/msg00661.txt.bz2 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