From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8602 invoked by alias); 11 Nov 2003 13:19:57 -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 8594 invoked from network); 11 Nov 2003 13:19:57 -0000 Received: from unknown (HELO smtp-relay-7.sea.adobe.com) (192.150.22.7) by sources.redhat.com with SMTP; 11 Nov 2003 13:19:57 -0000 Received: from inner-relay-3.corp.adobe.com (inner-relay-3 [153.32.251.51]) by smtp-relay-7.sea.adobe.com (8.12.10/8.12.10) with ESMTP id hABDJr7c013018; Tue, 11 Nov 2003 05:19:54 -0800 (PST) Received: from iplan-mn (iplan-mn.corp.adobe.com [130.248.25.5]) by inner-relay-3.corp.adobe.com (8.12.9/8.12.9) with ESMTP id hABDJhGl022916; Tue, 11 Nov 2003 05:19:43 -0800 (PST) Received: from mn-eljaypc.adobe.com (b-25-155.corp.adobe.com [130.248.25.155]) by iplan-mn.corp.adobe.com (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with ESMTP id <0HO600B9RVOT4T@iplan-mn.corp.adobe.com>; Tue, 11 Nov 2003 07:19:42 -0600 (CST) Date: Tue, 11 Nov 2003 13:19:00 -0000 From: Eljay Love-Jensen Subject: Re: Where should g++ find a 'max' macro or function ? In-reply-to: <200311101930.22097.m.svetlik@ssi-schaefer-peem.com> X-Sender: eljay@iplan-mn.corp.adobe.com To: Michael Svetlik , gcc-help@gcc.gnu.org Message-id: <5.2.1.1.0.20031111071637.01577218@iplan-mn.corp.adobe.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT References: <5.2.1.1.0.20031110064449.0151e6a0@iplan-mn.corp.adobe.com> <5.2.1.1.0.20031110064449.0151e6a0@iplan-mn.corp.adobe.com> X-SW-Source: 2003-11/txt/msg00148.txt.bz2 Hi Michael, I usually look in the C++ header files themselves. Note: some compilers (*cough* Microsoft *cough) are not ISO 14882 compliant/up-to-date, and may put the symbols in the incorrect header file (if not missing the sanctioned symbol entirely)... so some caution is warranted. Or I refer to "The C++ Programming Language" (3rd ed, or special ed) by Bjarne Stroustrup. If you are a glutton for punishment, the ISO 14882 specification is the gospel. But it's not light reading. Cures insomnia, though. HTH, --Eljay