This is the mail archive of the cygwin@cygwin.com 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: Cygwin DLL 1.3.22-1 release Bug? string recognition


jdklekota at aol dot com wrote:
> I am having difficulty compiling code that uses the <string> library.  It
> appears that the Cygwin libraries do not recognize the string class at all
> or its associated operators =,+=, etc.  I installed all the features
> included with this new version, games, graphics, etc.  Did I install
> something incorrectly or is there a bug in the string library?

string is in the std namespace. Either do "using namespace std;", or refer
to it as "std::string". This is not a Cygwin question. Your current code is
not compliant with the C++ standard.


Max.


--
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]