Mail Archives: djgpp/1999/05/16/06:45:05
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 -