From: <jo...@hr...> - 2000-11-17 16:00:44
|
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 Ceterum censeo tertium millennium post Christum natum anno MMI incepturum esse >------------------------------------------------------------------------------< Jouk Jansen jo...@hr... Technische Universiteit Delft tttttttttt uu uu ddddddd Nationaal centrum voor HREM tttttttttt uu uu dd dd Rotterdamseweg 137 tt uu uu dd dd 2628 AL Delft tt uu uu dd dd Nederland tt uu uu dd dd tel. 31-15-2781536 tt uuuuuuu ddddddd >------------------------------------------------------------------------------< |