This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Case-sensitivity for #include with gcc
- From: Laurent Tassan-Got <tassango at ipno dot in2p3 dot fr>
- To: cygwin at cygwin dot com
- Date: Tue, 05 Dec 2017 11:38:14 +0100
- Subject: Re: Case-sensitivity for #include with gcc
- Authentication-results: sourceware.org; auth=none
> -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.Tassan.Got@cern.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