This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fstream and sstream error with gcc 3.4.4


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]