Mail Archives: djgpp/1999/05/17/05:40:10
#CHUA CHAI GUAN# <PH877172 AT ntu DOT edu DOT sg> wrote:
To whom it may concern,
My problem and computer config are as follows,
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
From this, i'd say that you probably are passing a long int to a function that
requires a unsigned int. These types are not compatible! If you correct this
(probably in your function declarations) it should work, unless some other
nasty problem creeps up.
Oscar
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
- Raw text -