delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/04/19:39:05

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=v88J
L4Vg6JhKQ60jjJB3l1sovx23vEm5lnuvbwNF9XcejOJjOOgRBV4FpmnDA0VKXLVd
xWe1p9JBRIwBL8yJV1J70Mei0G6j+jF8qUZ77NSa8IWAYSBgTFoG7gHoqDRJspAi
+CuQckAMgQZVTCe4m6MwAOJSdeLYWxx48cQcyq8=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=IFzUXwcK5h
VNVSZcmoOSSPxQbL0=; b=fU5kB9clxRTiRg2SuT+I8MtYgnWZdIjxwkh7cSSHqZ
5EDF+0XcS3i/Vv474Ymn0aav2eXz+/Byv5JKBscImqkzgXjbnjffQ8BsRd3ybhEi
jEXURkY52Ba/lUVvRKQCxnzb1Oh8cz2IWjPww8h3m62BXAAw3tZ3sGDWZzks3+qI
g=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*M:cygwin, tassan-got, tstlexe, UD:tstl.exe
X-HELO: mx1.redhat.com
Subject: Re: Case-sensitivity for #include with gcc
To: cygwin AT cygwin DOT com
References: <5A25CD00 DOT 7070304 AT ipno DOT in2p3 DOT fr> <5A25D6CA DOT 2020301 AT ipno DOT in2p3 DOT fr>
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
Message-ID: <71dc5b09-5194-55ff-ad6e-e8c4a54cec39@cygwin.com>
Date: Mon, 4 Dec 2017 18:38:48 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <5A25D6CA.2020301@ipno.in2p3.fr>
X-IsSubscribed: yes

--tf0T4DAjsjLoUvLJv8ESEi85mLNH7fKei
Content-Type: multipart/mixed; boundary="MBJ6ggDv4jAJLR34xGqatd5mFrcu9vOhP";
 protected-headers="v1"
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <71dc5b09-5194-55ff-ad6e-e8c4a54cec39 AT cygwin DOT com>
Subject: Re: Case-sensitivity for #include with gcc
References: <5A25CD00 DOT 7070304 AT ipno DOT in2p3 DOT fr> <5A25D6CA DOT 2020301 AT ipno DOT in2p3 DOT fr>
In-Reply-To: <5A25D6CA DOT 2020301 AT ipno DOT in2p3 DOT fr>


--MBJ6ggDv4jAJLR34xGqatd5mFrcu9vOhP
Content-Type: text/plain; charset=utf-8
Content-Language: en-CA
Content-Transfer-Encoding: quoted-printable

On 2017-12-04 17:14, Laurent Tassan-Got wrote:
> =C2=A0=C2=A0=C2=A0 Just consider the simple C program tstl.c
[snip]
> The compilation with the command
> =C2=A0=C2=A0 gcc -Wall -O2 -o tstl.exe tstl.c
> is successful and the execution as well.
>=20
> Now the compilation with:
> =C2=A0=C2=A0 gcc -Wall -O2 -o tstl.exe -I /usr/include/X11=C2=A0=C2=A0 ts=
tl.c
> fails with the following messages:

-I/usr/include/X11 is incorrect, regardless of case (in)sensitivity.
X11 headers are namespaced, meaning that you should e.g. #include
<X11/Xlib.h> instead of <Xlib.h>.  If your code doesn't do that, then
you need to fix it.

--=20
Yaakov


--MBJ6ggDv4jAJLR34xGqatd5mFrcu9vOhP--

--tf0T4DAjsjLoUvLJv8ESEi85mLNH7fKei
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHQEARECADQWIQRFYAu5jKh4qpenARn/IK+aZu4flAUCWiXqmBYceXNlbGtvd2l0
ekBjeWd3aW4uY29tAAoJEP8gr5pm7h+U0MQAn0wVctfKKeopHK9A/kmJGh1n9l9y
AJ0efWeBJsy2Fs3PD++XZ4PE+HfinQ==
=aeaR
-----END PGP SIGNATURE-----

--tf0T4DAjsjLoUvLJv8ESEi85mLNH7fKei--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019