fstream and sstream error with gcc 3.4.4

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Mon Oct 31 02:29:00 GMT 2005


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/



More information about the Cygwin mailing list