Cygwin enables the programs compiled in it to partially make use of native features or even dll's of Windows. I encountered problems, as the compiler seems to include windows-headers and thus macros like MIN and MAX are defined. I solved this by defining NOMINMAX in one header (I forgot which one, just put it in each of the unleashing ones) of the bundled compiler.
Seems - to me- that you've got this pitfall, too. Regards Am 20.10.2011 19:22, schrieb Leandro Santiago: > I posted the entire file (streambuf.tcc) in pastebin: > http://pastebin.com/1CXbSDdP > > Both lines call std::min: > const streamsize __len = std::min(__buf_len, __remaining); > > 2011/10/19 Tommi Mäkitalo<[email protected]>: >> Hi, >> >> I didn't know, that mingw has no network layer implemented. Sounds strange >> but >> if you say so. >> >> And I don't know, which version of cygwin it was. It was really some years >> ago, when I tried. >> >> The error you got from cywin really looks strange also. It complains about an >> error in streambuf.tcc, which is a system header. Can you tell me, what is in >> line 54 and 88 of /usr/lib/gcc/i686-pc- >> cygwin/4.5.3/include/c++/bits/streambuf.tcc? Maybe we can see, what goes >> wrong >> there. >> >> Tommi >> > > ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
