www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/08/03:27:40

Date: Tue, 8 Jul 1997 10:27:10 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jude DaShiell <jdashiel AT eagle1 DOT eaglenet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: less-232 make problem
In-Reply-To: <Pine.NXT.3.95.970708022330.29454A-100000@eagle1>
Message-ID: <Pine.SUN.3.91.970708101954.13048Q-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019