Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > How i can make compatible vc7 with vc8

Reply
Thread Tools

How i can make compatible vc7 with vc8

 
 
CiberGhost
Guest
Posts: n/a
 
      11-06-2006
hay people, im cuban boy, i don't speak english so well..sorry.
The question is, i have a project that i download from sourceforge the
name is easysoap++
i need to integrate de source code of this project to another project
that needs connect to a remote webservice, and im using vc8.0, the
project compiles very well in vc7 but when im trying to compile the
project many compilers erros appear.
so , if any o yours can help me, i will be very gratefull
mi mail is

 
Reply With Quote
 
 
 
 
Earl Purple
Guest
Posts: n/a
 
      11-06-2006


On Nov 6, 2:29 pm, "CiberGhost" <n...@infomed.sld.cu> wrote:
> hay people, im cuban boy, i don't speak english so well..sorry.
> The question is, i have a project that i download from sourceforge the
> name is easysoap++
> i need to integrate de source code of this project to another project
> that needs connect to a remote webservice, and im using vc8.0, the
> project compiles very well in vc7 but when im trying to compile the
> project many compilers erros appear.
> so , if any o yours can help me, i will be very gratefull
> mi mail is n...@infomed.sld.cu


We won't answer questions about compiler specifics here but if you show
us what code won't compile we might be able to explain why it is
non-standard
and therefore why a compliant c++ compiler might not compile it.

 
Reply With Quote
 
 
 
 
ravinder thakur
Guest
Posts: n/a
 
      11-06-2006
u can post the errors that u are seeing. that can help me a bit.


thanks
ravinder thakur


CiberGhost wrote:
> hay people, im cuban boy, i don't speak english so well..sorry.
> The question is, i have a project that i download from sourceforge the
> name is easysoap++
> i need to integrate de source code of this project to another project
> that needs connect to a remote webservice, and im using vc8.0, the
> project compiles very well in vc7 but when im trying to compile the
> project many compilers erros appear.
> so , if any o yours can help me, i will be very gratefull
> mi mail is


 
Reply With Quote
 
CiberGhost
Guest
Posts: n/a
 
      11-06-2006
All the errors look like this... but my doubt is ... if this code
compiles with vc7 why don't compiles with vc8..
If you have a time pleas look the project the adress is
http://sourceforge.net/projects/easysoap/


Error 3 error C2146: syntax error : missing ';' before identifier
'm_index'
Error 4 error C4430: missing type specifier - int assumed. Note: C++
does not support default-int

class ForwardHashMapIterator{private:
const SOAPHashMap *m_map;
Elements::Iterator m_index;//the error appear here
HashElement *m_he;
...


Error 6 error C2226: syntax error : unexpected type
'EasySoap::SOAPHashMap<K,I,H,E>'


ForwardHashMapIterator(const SOAPHashMap *map, Elements::Iterator
index): m_map(map), m_index(index), m_he(0){
if (m_map){
// Find first bucket with an element
while (m_index != m_map->m_elements.End() && !(m_he =
*m_index))
++m_index;
}
}

 
Reply With Quote
 
Earl Purple
Guest
Posts: n/a
 
      11-06-2006


class ForwardHashMapIterator
{
private:
const SOAPHashMap *m_map;
Elements::Iterator m_index;//the error appear here
HashElement *m_he;
};

If Elements is a template with an unknown type (at this point) then it
requires a typename thus

typename Elements::Iterator

It's difficult to tell without seeing the whole code.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Building extensions with vc8 Howard Lightstone Python 1 01-22-2007 09:48 PM
boost::bind problem in VC8 IndyStef C++ 2 11-30-2005 03:47 PM
Who can help me about VC7.0 jvyyuie@gmail.com C++ 1 09-14-2005 05:06 AM
Difference between vc7.0 vc7.1 and vc.net Moonlit C++ 12 10-08-2003 09:48 PM



Advertisments