Date: Sun, 16 May 1999 13:40:00 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: #CHUA CHAI GUAN# cc: "'djgpp AT delorie DOT com'" Subject: Re: help In-Reply-To: <147BBF8976F0D211888508002BA60B66015A6635@mail8.ntu.edu.sg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 14 May 1999, #CHUA CHAI GUAN# wrote: > a)Error message > > C:\CCG\gann\gann>make > gcc -O6 -Wall -fstrict-prototypes -funroll-loops -finline-functions -lm > genPop. > cpp -o genPop > genPop.cpp: In function `int main(int, char **)': > genPop.cpp:46: passing `long int *' as argument 1 of `time(unsigned int *)' > genPop.cpp:47: passing `long int *' as argument 1 of `time(unsigned int *)' > make.exe: *** [genPop] Error 1 There seems to be a real problem in your source: you pass wrong type of parameter to library function `time'. Check out the docs.