| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE |
| X-Spam-Check-By: | sourceware.org |
| X-Received: | by 10.50.242.73 with SMTP id wo9mr291543igc.36.1358209871321; Mon, 14 Jan 2013 16:31:11 -0800 (PST) |
| Date: | Mon, 14 Jan 2013 18:31:05 -0600 |
| From: | Yaakov (Cygwin/X) <yselkowitz AT users DOT sourceforge DOT net> |
| To: | cygwin <cygwin AT cygwin DOT com> |
| Subject: | Re: Another issue with CLANG |
| Message-ID: | <20130114183105.37448c45@YAAKOV04> |
| In-Reply-To: | <50F40B7E.6040200@dronecode.org.uk> |
| References: | <50F00B98 DOT 9090306 AT alice DOT it> <50F2C529 DOT 6070303 AT dronecode DOT org DOT uk> <50F2C837 DOT 9020903 AT alice DOT it> <50F2D0D8 DOT 1040403 AT dronecode DOT org DOT uk> <50F3F03A DOT 4080503 AT alice DOT it> <50F40B7E DOT 6040200 AT dronecode DOT org DOT uk> |
| Mime-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Mon, 14 Jan 2013 13:43:26 +0000, Jon TURNEY wrote:
> On 14/01/2013 11:47, Angelo Graziosi wrote:
> > For the record...
> >
> > ROOT guys have fixed this issue with the following patch to their patched
> > version of llvm/clang:
> >
> > $ cat InitHeaderSearch.cpp.diff
> > --- ROOT/interpreter/llvm/src/tools/clang/lib/Frontend/InitHeaderSearch.cpp
> > 2013-01-01 11:50:05.000000000 +0100
> > +++
> > root_trunk/interpreter/llvm/src/tools/clang/lib/Frontend/InitHeaderSearch.cpp
> > 2013-01-14 12:10:43.906250000 +0100
> > @@ -305,7 +305,8 @@
> > case llvm::Triple::RTEMS:
> > break;
> > case llvm::Triple::Cygwin:
> > - AddPath("/usr/include/w32api", System, true, false, false);
> > + // The headers in w32api/ are not cygwin-compatible (but native)
> > + //AddPath("/usr/include/w32api", System, true, false, false);
>
> Well, ok. But this comment is almost completely wrong.
>
> cygwin clang has /usr/include/w32api in the default include path (try
> compiling your test program with clang -v), and since it appears *after*
> /usr/include, including glx.h works correctly.
>
> I have no idea what the right way to solve this problem is.
http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/llvm;a=blob;f=3.1-cygwin-includes.patch;h=1444765;hb=HEAD
Yaakov
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |