This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Issues with stdio.h


On Sun, Feb 19, 2012 at 07:07:04PM -0500, Chris Sutcliffe wrote:
>I'm trying to compile vim now using the latest snapshot, and I'm
>having an issue with stdio.h referencing stddef.h, which seems to be
>missing.  I checked my /usr/include directory and sure enough, it's
>not there.  According to vim's configure:
>
>configure:3089: gcc -o conftest.exe    conftest.c  >&5
>In file included from conftest.c:10:0:
>/usr/include/stdio.h:34:20: fatal error: stddef.h: No such file or directory

stddef.h comes from the gcc4-core package.  It's located in:

usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h

and should be found automatically by the compiler.  I just tried a
simple test case and the inclusion of stdio.h seemed to work fine.

You could try checking to make sure that there are no environment
variables set which would impact the compiler.

cgf

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]