www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/16/06:45:05

Date: Sun, 16 May 1999 13:40:00 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: #CHUA CHAI GUAN# <PH877172 AT ntu DOT edu DOT sg>
cc: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Re: help
In-Reply-To: <147BBF8976F0D211888508002BA60B66015A6635@mail8.ntu.edu.sg>
Message-ID: <Pine.SUN.3.91.990516133905.26252K-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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.

- Raw text -


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