Date: Tue, 8 Jul 1997 10:27:10 +0300 (IDT) From: Eli Zaretskii To: Jude DaShiell cc: djgpp AT delorie DOT com Subject: Re: less-232 make problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 8 Jul 1997, Jude DaShiell wrote: > c:/djgpp/include/stdio.h:33: warning: redefinition of `size_t' > c:/djgpp/include/sys/types.h:41: warning: `size_t' previously declared here There is no size_t on line 41 in sys/types.h. Please make sure your sys/types.h comes from djdev201.zip, and not from some earlier version of DJGPP. Another possibility is that your sys/types.h is garbled somehow. > c:/djgpp/include/unistd.h:151: parse error before `confstring' My unistd.h has only 150 lines. It seems that some of your header files are garbled. I suggest you re-install them from djdev201.zip. > My question is, often in C programming warnings come up and > even with the warning in play the executible will still run correctly. > Is this also the case with errors sometimes and specifically in > this case are these errors simply throw-away errors? My advice is: NEVER disregard a warning, unless you understand it completely and are sure that you indeed mean to do what the compiler doesn't like (and even then, it is better to find a way that doesn't trigger the warning). > So far as I can tell I have make installed correctly, though in another > program I tried to make under msdos specifically makeall.bat make couldn't find > makefile.inc. What's weird is makefile.inc is in > c:\djgpp\tests where I started the make process out. This is an unrelated problem. Please post the relevant details (like which makeall.bat is that, and what exactly did make print). > Are there any special environment variables that make needs set No.