nourhanadel59 / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Bunch of errors with cryptstring.h #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure
2. make

What is the expected output? What do you see instead?
Bunch of errors.

What version of the product are you using? On what operating system?
libjingle 0.4.0

Please provide any additional information below.
Output of Make :

In file included from ../../../talk/examples/login/xmppauth.h:33,
                 from xmppauth.cc:29:
../../../talk/base/cryptstring.h:43: error: 'string' in namespace 'std'
does not name a type
../../../talk/base/cryptstring.h:56: error: 'string' in namespace 'std'
does not name a type
../../../talk/base/cryptstring.h:74: error: 'string' in namespace 'std'
does not name a type
../../../talk/base/cryptstring.h:92: error: expected unqualified-id before
'&' token
../../../talk/base/cryptstring.h:92: error: expected ',' or '...' before
'&' token
../../../talk/base/cryptstring.h: In member function 'void
talk_base::FormatCryptString::Append()':
../../../talk/base/cryptstring.h:93: error: 'text' was not declared in this
scope
../../../talk/base/cryptstring.h: At global scope:
../../../talk/base/cryptstring.h:165: error: ISO C++ forbids declaration of
'string' with no type
../../../talk/base/cryptstring.h:165: error: invalid use of '::'
../../../talk/base/cryptstring.h:165: error: expected ';' before '&' token
../../../talk/base/cryptstring.h:166: error: expected `;' before 'const'
../../../talk/base/cryptstring.h:166: error: ISO C++ forbids declaration of
'string' with no type
../../../talk/base/cryptstring.h:166: error: invalid use of '::'
../../../talk/base/cryptstring.h:166: error: expected ';' before '&' token
../../../talk/base/cryptstring.h:168: error: expected `;' before 'virtual'
../../../talk/base/cryptstring.h:174: error: 'string' in namespace 'std'
does not name a type
../../../talk/base/cryptstring.h:181: error: 'string' in namespace 'std'
does not name a type
../../../talk/base/cryptstring.h: In member function 'virtual size_t
talk_base::InsecureCryptStringImpl::GetLength() const':
../../../talk/base/cryptstring.h:169: error: 'password_' was not declared
in this scope
../../../talk/base/cryptstring.h: In member function 'virtual void
talk_base::InsecureCryptStringImpl::CopyTo(char*, bool) const':
../../../talk/base/cryptstring.h:171: error: 'password_' was not declared
in this scope
../../../talk/base/cryptstring.h: In member function 'virtual
talk_base::CryptStringImpl* talk_base::InsecureCryptStringImpl::Copy() const':
../../../talk/base/cryptstring.h:177: error: 'class
talk_base::InsecureCryptStringImpl' has no member named 'password'
../../../talk/base/cryptstring.h:177: error: 'password_' was not declared
in this scope
In file included from xmppauth.cc:31:
../../../talk/xmpp/saslplainmechanism.h: In member function 'virtual
buzz::XmlElement* buzz::SaslPlainMechanism::StartSaslAuth()':
../../../talk/xmpp/saslplainmechanism.h:51: error: no matching function for
call to 'talk_base::FormatCryptString::Append(const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
../../../talk/base/cryptstring.h:92: note: candidates are: void
talk_base::FormatCryptString::Append()
../../../talk/base/cryptstring.h:96: note:                 void
talk_base::FormatCryptString::Append(const char*, size_t)
../../../talk/base/cryptstring.h:103: note:                 void
talk_base::FormatCryptString::Append(const talk_base::CryptString*)
make[4]: *** [xmppauth.lo] Error 1
make[4]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0/talk/examples/login'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0/talk/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0/talk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0'
make: *** [all] Error 2

Original issue reported on code.google.com by nareshe...@gmail.com on 31 Jul 2008 at 11:35

GoogleCodeExporter commented 9 years ago
Closing out old issues.

Original comment by pthatc...@google.com on 3 Nov 2010 at 7:28