From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6014 invoked by alias); 16 Nov 2006 12:42:15 -0000 Received: (qmail 6000 invoked by uid 22791); 16 Nov 2006 12:42:14 -0000 X-Spam-Check-By: sourceware.org Received: from exprod6og56.obsmtp.com (HELO exprod6og56.obsmtp.com) (64.18.1.208) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 16 Nov 2006 12:42:03 +0000 Received: from source ([192.150.20.142]) by exprod6ob56.postini.com ([64.18.5.12]) with SMTP; Thu, 16 Nov 2006 04:41:09 PST Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id kAGCfRIY015770; Thu, 16 Nov 2006 04:41:28 -0800 (PST) Received: from fe1.corp.adobe.com (fe1.corp.adobe.com [10.8.192.70]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id kAGCf5PF014740; Thu, 16 Nov 2006 04:41:05 -0800 (PST) Received: from namailgen.corp.adobe.com ([10.8.192.91]) by fe1.corp.adobe.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 16 Nov 2006 04:41:05 -0800 Received: from 10.32.16.88 ([10.32.16.88]) by namailgen.corp.adobe.com ([10.8.192.91]) via Exchange Front-End Server namailhost.corp.adobe.com ([10.8.192.72]) with Microsoft Exchange Server HTTP-DAV ; Thu, 16 Nov 2006 12:41:04 +0000 User-Agent: Microsoft-Entourage/11.2.5.060620 Date: Thu, 16 Nov 2006 12:42:00 -0000 Subject: Re: gcc3.4.6: std::min and std::max From: John Love-Jensen To: , MSX to GCC Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2006-11/txt/msg00218.txt.bz2 Hi Bernard, Try putting this in the code just before line 522 and line 823: #ifdef max #error "BZZZT: max was defined as an evil macro function" #endif ...or use this band-aid instead before line 522 and line 823... #ifdef max #undef max #define max max #endif HTH, --Eljay