From: Brian P. <br...@va...> - 2000-11-17 16:05:05
|
"Jacob (=Jouk) Jansen" wrote: > > br...@va... wrote on 17-NOV-2000 16:53:40.03 > To: "Jacob (=Jouk) Jansen" <jo...@hr...> > CC: > Subj: Re: [Mesa3d-dev] src/types.h > > >"Jacob (=Jouk) Jansen" wrote: > >> > >> Hi all, > >> > >> src/types.h gives problems on my VMS machine because it is sometimes mixed-up > >> for the system include file types.h. My suggestion is to give it another name > >> but which??? > > > >Once upon a time, the dlist.h source file was just named list.h and > >people said that their compilers were getting a system list.h file > >instead. So I renamed list.h to dlist.h. I wondered how types.h > >worked for those same people. > The problem arose when I switched the threads on. <pthread.h> includes > somewhere <types.h>, which is supposed to be the system one, however mesa's > one was taken. > > >My understanding of #include is that #include "quotes.h" should > >search the current directory then -I directories before the > >system include directories. Conversely, #include <brackets.h> > >should search the system directories first. I lost my copy of > >the K&R book years ago. Can someone verify this? > In that case my prepocessor is buggy! > > >Are you sure that there's no accidental use of #include <types.h>? > >Or perhaps you need the equivalent to -I. for your compiler? > see above Well, if you really can't fix this problem we can rename types.h. It's not a big deal. Now would be the time to do it since we're making lots of changes. -Brian |