🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #180

Re: E2268:Call to undefined function min

#180
From: Johannes Weinert
Date: Tue, 08 Aug 2006 15:36
23 lines
1362 bytes
Hi,

chandana wrote:
> Hi All,
> I have an application written in C++ builder .
> 
> I am trying to migrate this to BDS 2006.However 
> on compile i keep on getting the foolwing error.
> 
> E2268:Call to undefined function min.


you can try

#include <algorithm>
using namespace std;

BTW, if you get in trouble with something like 'back_inserter' not 
known: #include <iterator>.

HTH

Hans
Technical Details
Message-ID: <44d8af3f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44d8a85e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,58ec51bc88b2bcbc
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 08 Aug 2006 17:36:07 +0200
From: Johannes Weinert <jw_news@ddbst.de>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.migration
Subject: Re: E2268:Call to undefined function min
References: <44d8a85e$1@newsgroups.borland.com>
In-Reply-To: <44d8a85e$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 134.106.146.149
Message-ID: <44d8af3f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1155051327 134.106.146.149 (8 Aug 2006 08:35:27 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail