From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25951 invoked by alias); 10 Nov 2003 18:31:42 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 25937 invoked from network); 10 Nov 2003 18:31:42 -0000 Received: from unknown (HELO smtp.inode.at) (62.99.194.6) by sources.redhat.com with SMTP; 10 Nov 2003 18:31:42 -0000 Received: from mail.ssi-schaefer-peem.com ([62.99.238.66]:2903 helo=e1.peemdomain.at) by smtp.inode.at with smtp (Exim 4.10) id 1AJGp5-0000aL-00; Mon, 10 Nov 2003 19:31:35 +0100 Received: from peemnt3.peemdomain.at ([10.1.10.10]) by e1.peemdomain.at (SAVSMTP 3.1.2.35) with SMTP id M2003111019310414730 ; Mon, 10 Nov 2003 19:31:04 +0100 Received: from laptop-svetlik ([172.16.100.161]) by peemnt3.peemdomain.at with Microsoft SMTPSVC(5.0.2195.6713); Mon, 10 Nov 2003 19:31:39 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Michael Svetlik Organization: SSI-Schaefer-PEEM To: Eljay Love-Jensen , gcc-help@gcc.gnu.org Subject: Re: Where should g++ find a 'max' macro or function ? Date: Mon, 10 Nov 2003 18:31:00 -0000 User-Agent: KMail/1.4.1 References: <5.2.1.1.0.20031110064449.0151e6a0@iplan-mn.corp.adobe.com> In-Reply-To: <5.2.1.1.0.20031110064449.0151e6a0@iplan-mn.corp.adobe.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200311101930.22097.m.svetlik@ssi-schaefer-peem.com> X-OriginalArrivalTime: 10 Nov 2003 18:31:39.0530 (UTC) FILETIME=[E17B96A0:01C3A7B8] X-SW-Source: 2003-11/txt/msg00140.txt.bz2 On Monday 10 November 2003 13:54, Eljay Love-Jensen wrote: > > In C++ (and in C) it's strongly recommended that you include the proper > header file that declares the symbols utilized. > > Try this in your little program: > /* -------------------------------------------------------- */ > #include > using std::max; Thanks, helped. I already knew about strict prototyping, but didn't know _WHERE_ to find the prototype. To avoid messing up the gcc-help list next time, could you - or anyone of the guru's - point me a document, specifying where to find such standard utilities, means which stl header to include ? Would be great ... Michael