Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <43658F25.6020204@cygwin.com> Date: Sun, 30 Oct 2005 22:27:33 -0500 From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0 MIME-Version: 1.0 To: Scott Cegielski <scegielski AT charter DOT net> CC: cygwin AT cygwin DOT com Subject: Re: fstream and sstream error with gcc 3.4.4 References: <000001c5ddb8$56bb17b0$334861cb AT anykey> <4365707B DOT 6040008 AT charter DOT net> In-Reply-To: <4365707B.6040008@charter.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 10/30/2005, Scott Cegielski wrote: > Danny Smith wrote: > > >> After upgrading from gcc 3.3.3 to gcc 3.4.4, I now get the following > >> > > > > errors when I compile some code: > > > > > > When using GCC's libstdc++ > > > > -DNOMINMAX > > or > > #define NOMINMAX > > > > before including <windows.h> > > > > Danny > > > Thanks, that did it. Why is that necessary? See this thread on the same issue: <http://www.cygwin.com/ml/cygwin/2005-09/msg00839.html> -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/