delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/05/05:38:34

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
:content-type:content-transfer-encoding; q=dns; s=default; b=Ya8
HFRXXZfFBCoZjlUwZFFRTV+so0SOxg6L6hXmytoBhfhtqmjSidfj7xv7E0Y65mVR
QiKR+ZVJQoxdizbxalMxgWSP6xB5nXEaLCXyqtsrSTq6cH0xxiHM5cgtQSKqWs6u
4W0PkVFz50cZOrR0lxte6j8sUG1Id6GO/Pcg9Cms=
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
:content-type:content-transfer-encoding; s=default; bh=BZvDkWtHd
KuCXOStpHBLLA3kQfo=; b=TAlh3K5qmIBCdS/PT2w2700lvXq0lN41oIBFKyuls
I8G7INV5yW/arXo2ZzHTY4LcT4QI8vMudc7OgGLPLT/BjIAwYyTbCrOVb+xenkfB
+X7NPeQz9S47dpk0VprO/P7QWL3FL9EcEjUYS3uXKa5hWL139wySDadjjHLnOoUw
9o=
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.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=laurent, tassan-got, tassangot, Laurent
X-HELO: ipnmail.in2p3.fr
Message-ID: <5A267716.8070807@ipno.in2p3.fr>
Date: Tue, 05 Dec 2017 11:38:14 +0100
From: Laurent Tassan-Got <tassango AT ipno DOT in2p3 DOT fr>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Case-sensitivity for #include with gcc

 > -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.

Ah you are right !
All my includes are already in the form <X11/....>  so the
-I/usr/include/X11 was unnecessary. It was generated
automatically by the configure, so I have to correct it
in the configure.ac
   Thank you for your diagnosis.


-- 

             ****************************************
             *   Laurent TASSAN-GOT                 *
             *   CERN/EP-UNT                        *
             *   603-R-011                          *
             *   385 route de Meyrin                *
             *   1217 Meyrin, Switzerland           *
             *   email : Laurent DOT Tassan DOT Got AT cern DOT ch *
             *   tel: +41 75 411 00 62              *
             ****************************************
             


--
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

- Raw text -


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