From: manju k <m_a...@ya...> - 2010-08-31 12:24:05
|
adding using namespace std declaration. resolved the issue. ----- Original Message ---- From: manju k <m_a...@ya...> To: icu...@li... Sent: Tue, August 31, 2010 12:42:29 PM Subject: [icu-support] unicode/stringpiece.h str' was not declared in this scope Hello, I am trying to compile my application that includes unicode/stringpiece.h header file. <install-dir>/include/unicode/stringpiece.h:74: warning: ISO C++ forbids declaration of 'string' with no type <install-dir>/include/unicode/stringpiece.h:74: error: expected ',' or '...' before '&' token <install-dir>/include/unicode/stringpiece.h: In constructor 'StringPiece_44::StringPiece_44(int)': <install-dir>/include/unicode/stringpiece.h:75: error: 'str' was not declared in this scope I am using ICU 4.4.1 for C/C++ and gcc version 4.4.4 on Red Hat x86_64 system. Thanks for any help. regards, manju ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ icu-support mailing list - icu...@li... To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support |