www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/17/05:40:10

Message-ID: <19990517093825.24231.qmail@ww182.netaddress.usa.net>
Date: 17 May 99 02:38:25 PDT
From: Oscar Almer <firstcheesemaster AT netscape DOT net>
To: PH877172 AT ntu DOT edu DOT sg
Subject: Re: [help ]
CC: djgpp AT delorie DOT com
X-Mailer: USANET web-mailer (M3.0.0.118)
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id FAA13331
Reply-To: djgpp AT delorie DOT com

#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 -


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