This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: fstream and sstream error with gcc 3.4.4
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: Scott Cegielski <scegielski at charter dot net>
- Cc: cygwin at cygwin dot com
- Date: Sun, 30 Oct 2005 22:27:33 -0500
- Subject: Re: fstream and sstream error with gcc 3.4.4
- References: <000001c5ddb8$56bb17b0$334861cb@anykey> <4365707B.6040008@charter.net>
- Reply-to: cygwin at cygwin dot com
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/