This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem including float.h with gcc -mno-cygwin
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 17 Mar 2005 11:44:40 -0500
- Subject: Re: Problem including float.h with gcc -mno-cygwin
- References: <4239B117.4030203@cs.cornell.edu>
- Reply-to: cygwin at cygwin dot com
On Thu, Mar 17, 2005 at 11:32:23AM -0500, Paul Stodghill wrote:
>If a program includes <float.h> and is compiled with gcc -mno-cygwin, it
>appears to include the wrong instance of float.h. More specifically,
>"/usr/i686-pc-mingw32/include/float.h" is written assuming that it will
>be included before "/usr/lib/gcc/i686-pc-cygwin/3.4.1/include/float.h"
>and uses #include_next to pick up the compiler provided definitions.
>However, this does not appear to be happening.
>
>The reasons appears to be that the
>"/usr/lib/gcc/i686-pc-cygwin/3.4.1/include" appears on the search path
>before "/usr/i686-pc-mingw32/include". Adding
>"-I/usr/i686-pc-mingw32/include" to the command line does not work
>because it is suppressed as a duplicate entry.
There aren't supposed to be any "cygwin" directories in the search path.
Apparently this part of gcc is busted.
Gerrit?
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/