Re: which stddef.h should be included

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 18 2010 - 14:17:54 MDT

I believe you can safely ignore these warnings. We see this kind of
thing all the time. On our Linux system, stddef.h is in /usr/
include/linux, and it will find this during the actual compilation
phase, even if it doesn't see it during the "makedepend" phase.

--Mary

On Mar 18, 2010, at 11:16 AM, brick wrote:

> Hi
> When compile ncl with icc and ifort on CentOS. Met many warning
> about stddef.h.
>
> makedepend: warning: NclTypedouble.c (reading /usr/include/
> stdio.h, line 34): cannot find include file "stddef.h"
> not in ../../.././include/stddef.h
> not in /usr/include/stddef.h
> not in /usr/include/X11/stddef.h
> not in /mnt/home/xqiu/Program/IntelCompiled/include/stddef.h
> not in /usr/include/stddef.h
> makedepend: warning: NclTypedouble.c (reading /usr/include/bits/
> types.h, line 31): cannot find include file "stddef.h"
> not in ../../.././include/stddef.h
> not in /usr/include/stddef.h
> not in /usr/include/X11/stddef.h
> not in /mnt/home/xqiu/Program/IntelCompiled/include/stddef.h
> not in /usr/include/stddef.h
> makedepend: warning: NclTypedouble.c (reading /usr/include/
> _G_config.h, line 14): cannot find include file "stddef.h"
> not in ../../.././include/stddef.h
> not in /usr/include/stddef.h
> not in /usr/include/X11/stddef.h
> not in /mnt/home/xqiu/Program/IntelCompiled/include/stddef.h
> not in /usr/include/stddef.h
> makedepend: warning: NclTypedouble.c (reading /usr/include/
> wchar.h, line 48): cannot find include file "stddef.h"
> not in ../../.././include/stddef.h
> not in /usr/include/stddef.h
> not in /usr/include/X11/stddef.h
> not in /mnt/home/xqiu/Program/IntelCompiled/include/stddef.h
> not in /usr/include/stddef.h
> makedepend: warning: NclTypedouble.c (reading /usr/include/
> gconv.h, line 31): cannot find include file "stddef.h"
> not in ../../.././include/stddef.h
> not in /usr/include/stddef.h
> not in /usr/include/X11/stddef.h
> not in /mnt/home/xqiu/Program/IntelCompiled/include/stddef.h
> not in /usr/include/stddef.h
> makedepend: warning: NclTypedouble.c (reading /usr/include/
> libio.h, line 53): cannot find include file "stdarg.h"
> not in ../../.././include/stdarg.h
> not in /usr/include/stdarg.h
> not in /usr/include/X11/stdarg.h
> not in /mnt/home/xqiu/Program/IntelCompiled/include/stdarg.h
> not in /usr/include/stdarg.h
> makedepend: warning: NclTypedouble.c (reading /usr/include/
> string.h, line 33): cannot find include file "stddef.h"
> not in ../../.././include/stddef.h
> not in /usr/include/stddef.h
> not in /usr/include/X11/stddef.h
> not in /mnt/home/xqiu/Program/IntelCompiled/include/stddef.h
> not in /usr/include/stddef.h
> makedepend: warning: NclTypedouble.c (reading /usr/include/
> stdlib.h, line 33): cannot find include file "stddef.h"
> not in ../../.././include/stddef.h
> not in /usr/include/stddef.h
> not in /usr/include/X11/stddef.h
> not in /mnt/home/xqiu/Program/IntelCompiled/include/stddef.h
> not in /usr/include/stddef.h
> .......................
> .......................
>
> I found that all *.h be reading are GNU C library. Such like:
>
> /usr/include/stdio.h
> /usr/include/stdlib.h
> /usr/include/string.h
>
> There are some stddef.h files found on my CentOS:
>
> /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h
> /opt/intel/Compiler/11.1/064/include/stddef.h
> /usr/include/linux/stddef.h
> /usr/include/xulrunner-sdk-1.9/system_wrappers/stddef.h
> /usr/lib/bcc/include/stddef.h
> /usr/lib/syslinux/com32/include/stddef.h
> /usr/lib/syslinux/com32/include/bitsize/stddef.h
> /usr/src/kernels/2.6.18-164.el5-i686/include/linux/stddef.h
>
> So which stddef.h should be used when compiler is icc and ifort?
> Linux, gcc or intel?
>
> Thanks.
>
> brick
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 18 14:19:03 2010

This archive was generated by hypermail 2.1.8 : Fri Mar 19 2010 - 16:19:08 MDT