delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/02/12:00:09

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: francescomoi AT europe DOT com (Francesco Moi)
Newsgroups: comp.os.msdos.djgpp
Subject: implicit declaration of function `int min(...)'
Date: 2 Apr 2002 08:45:45 -0800
Organization: http://groups.google.com/
Lines: 15
Message-ID: <5b829932.0204020845.4de3b671@posting.google.com>
NNTP-Posting-Host: 194.30.71.149
X-Trace: posting.google.com 1017765946 15235 127.0.0.1 (2 Apr 2002 16:45:46 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 2 Apr 2002 16:45:46 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

I'm trying to compile a piece of code with 'mingw32'.
Within it, it appears:

	short number=min(100,anothernumber);

And I get this error message:

	implicit declaration of function `int min(...)'

Does anybody have any experience about including 'min'
function?

Regards.

- Raw text -


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