Unfortunately I don't know what is causing this. Jason Moxham did most of the recent work on Cygwin and did lots of testing. It should be fine. I can only recommend ensuring you have the latest Cygwin. If there is still a problem, maybe try adding a #include <string> as you suggest and see if the problem goes away. This problem is certainly confined to certain versions of Cygwin it seems.
Bill. On 9 February 2011 19:06, CTSmith <smit...@gmail.com> wrote: > As posted in a previous discussion by the author, this is for Intel > Core i3 with Windows 7. > > Make check progresses to "Making check in cxx", then gives a warning > followed by an error. > > The output looks like this: > ... > Making check in cxx > make[3]: Entering directory '/cygdrive/c/mpir/mpir-2.2.1/tests/cxx' > make t-assign.exe t-binary.exe t-cast.exe t-constr.exe t-headers.exe > t-istream.exe t-locale.exe t-misc.exe t-ops.exe t-ostream.exe t- > prec.exe t-rand.exe t-ternary.exe t-unary.exe > make[4]: Entering directory '/cygdrive/c/mpir/mpir-2.2.1/tests/cxx' > g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests -m32 -O2 - > fomit-frame-pointer -mtune=core2 -march=core2 -c -o t-assign.o t- > assign.cc > In file included from /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/ > backward/strstream:51, > from ../../tests/tests.h:469, > from t-assign.cc:30: > /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/backward/ > backward_warning.h:33:2: > warning: #warning This file includes at least one deprecated or > antiquated header which may be removed without further notice at a > future date. Please use a non-deprecated interface with equivalent > functionality instead. For a listing of replacement headers and > interfaces, consult the file backward_warning.h. To disable this > warning use -Wno-deprecated. > In file included from t-assign.cc:30: > ../../tests/tests.h:473: error: 'string' does not name a type > make[4]: *** [t-assign.o] Error 1 > make[4]: Leaving directory 'cygdrive/c/mpir/mpir-2.2.1/tests/cxx' > ... > make: *** [check] Error 2 > > There is much discussion in C++ forums about using std::string, but > I'm not sure if it applies here. > Thank you in advance, > Chris > > -- > You received this message because you are subscribed to the Google Groups > "mpir-devel" group. > To post to this group, send email to mpir-devel@googlegroups.com. > To unsubscribe from this group, send email to > mpir-devel+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/mpir-devel?hl=en. > > -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@googlegroups.com. To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.