By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,260 Members | 1,338 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,260 IT Pros & Developers. It's quick & easy.

How i can make compatible vc7 with vc8

P: n/a
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 ne***@infomed.sld.cu

Nov 6 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a


On Nov 6, 2:29 pm, "CiberGhost" <n...@infomed.sld.cuwrote:
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.

Nov 6 '06 #2

P: n/a
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 ne***@infomed.sld.cu
Nov 6 '06 #3

P: n/a
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;
}
}

Nov 6 '06 #4

P: n/a


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.

Nov 6 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.