J ai installe Visual C++ 6.0 SP6 sous XP SP2

j ai pris le projet C++ tight VNC qui est "ready to compile" sous Visual C++6.0
J ai bien lu le build et le readme
tous est conforme :

tous les projet annexes compile bien.
Mais quand je veux builder le principale
j ai l'erreur suivante (un extrait seulement):

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
d:\utile\microsoft visual studio6\vc98\include\xtree(629) : error C2059: syntax error : '?'
d:\utile\microsoft visual studio6\vc98\include\xtree(629) : error C2065: '_Y' : undeclared identifier
d:\utile\microsoft visual studio6\vc98\include\xtree(629) : error C2275: '_A' : illegal use of this type as an expression
d:\utile\microsoft visual studio6\vc98\include\xtree(629) : error C2143: syntax error : missing ',' before ')'
d:\utile\microsoft visual studio6\vc98\include\xtree(631) : error C2951: template declarations are only permitted at global or namespace scope
d:\utile\microsoft visual studio6\vc98\include\xtree(632) : error C2976: '_Tree' : too few template arguments
        d:\utile\microsoft visual studio6\vc98\include\xtree(602) : see declaration of '_Tree'
d:\utile\microsoft visual studio6\vc98\include\xtree(633) : error C2143: syntax error : missing ',' before '<='
d:\utile\microsoft visual studio6\vc98\include\xtree(633) : error C2433: 'bool' : 'inline' not permitted on data declarations
d:\utile\microsoft visual studio6\vc98\include\xtree(633) : error C2059: syntax error : 'operator <op>'
d:\utile\microsoft visual studio6\vc98\include\xtree(635) : error C2143: syntax error : missing ')' before '{'
d:\utile\microsoft visual studio6\vc98\include\xtree(635) : error C2059: syntax error : '{'
d:\utile\microsoft visual studio6\vc98\include\xtree(635) : error C2143: syntax error : missing ';' before '{'
d:\utile\microsoft visual studio6\vc98\include\xtree(635) : error C2447: missing function header (old-style formal list?)
d:\utile\microsoft visual studio6\vc98\include\xtree(636) : error C2954: template definitions cannot nest
d:\utile\microsoft visual studio6\vc98\include\map(16) : error C2143: syntax error : missing ';' before 'namespace'
d:\utile\microsoft visual studio6\vc98\include\map(16) : error C2501: 'B' : missing storage-class or type specifiers
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2039: 'reference' : is not a member of '_A'
        d:\utile\microsoft visual studio6\vc98\include\xtree(632) : see declaration of '_A'
        d:\utile\microsoft visual studio6\vc98\include\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2146: syntax error : missing ';' before identifier '_Tref'
        d:\utile\microsoft visual studio6\vc98\include\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2501: '_Tref' : missing storage-class or type specifiers
        d:\utile\microsoft visual studio6\vc98\include\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(48) : error C2040: 'reference' : ' &' differs in levels of indirection from 'int'
        d:\utile\microsoft visual studio6\vc98\include\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(92) : error C2143: syntax error : missing ';' before '['
        d:\utile\microsoft visual studio6\vc98\include\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(92) : error C2501: '_Tref' : missing storage-class or type specifiers
        d:\utile\microsoft visual studio6\vc98\include\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2589: '<type name>' : illegal token on right side of '::'
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2589: '<type name>' : illegal token on right side of '::'
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2059: syntax error : '::'
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2238: unexpected token(s) preceding ';'
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(51) : error C2027: use of undefined type '_A'
        d:\utile\microsoft visual studio6\vc98\include\xtree(632) : see declaration of '_A'
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,unsigned char>,struct std::map<unsigned long,unsigned char,struct std::les
s<unsigned long>,class std::allocator<unsigned char> >::_Kfn,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(51) : error C2146: syntax error : missing ';' before identifier 'size_type'
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,unsigned char>,struct std::map<unsigned long,unsigned char,struct std::les
s<unsigned long>,class std::allocator<unsigned char> >::_Kfn,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(51) : error C2868: 'size_type' : illegal syntax for using-declaration; expected qualified-name
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,unsigned char>,struct std::map<unsigned long,unsigned char,struct std::les
s<unsigned long>,class std::allocator<unsigned char> >::_Kfn,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(52) : error C2027: use of undefined type '_A'
        d:\utile\microsoft visual studio6\vc98\include\xtree(632) : see declaration of '_A'
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,unsigned char>,struct std::map<unsigned long,unsigned char,struct std::les
s<unsigned long>,class std::allocator<unsigned char> >::_Kfn,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(52) : error C2146: syntax error : missing ';' before identifier 'difference_type'
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,unsigned char>,struct std::map<unsigned long,unsigned char,struct std::les
s<unsigned long>,class std::allocator<unsigned char> >::_Kfn,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(52) : error C2868: 'difference_type' : illegal syntax for using-declaration; expected qualified-name
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,unsigned char>,struct std::map<unsigned long,unsigned char,struct std::les
s<unsigned long>,class std::allocator<unsigned char> >::_Kfn,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(92) : error C2143: syntax error : missing ';' before '['
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(92) : error C2501: '_Tref' : missing storage-class or type specifiers
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(316) : see reference to class template instantiation 'std::map<unsigned long,unsigned char,struct std::less<unsigned long>,class std::allocator<unsigned char> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2589: '<type name>' : illegal token on right side of '::'
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2589: '<type name>' : illegal token on right side of '::'
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2059: syntax error : '::'
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(44) : error C2238: unexpected token(s) preceding ';'
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(51) : error C2027: use of undefined type '_A'
        d:\utile\microsoft visual studio6\vc98\include\xtree(632) : see declaration of '_A'
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,bool>,struct std::map<unsigned long,bool,struct std::less<unsigned long>,c
lass std::allocator<bool> >::_Kfn,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(51) : error C2146: syntax error : missing ';' before identifier 'size_type'
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,bool>,struct std::map<unsigned long,bool,struct std::less<unsigned long>,c
lass std::allocator<bool> >::_Kfn,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(51) : error C2868: 'size_type' : illegal syntax for using-declaration; expected qualified-name
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,bool>,struct std::map<unsigned long,bool,struct std::less<unsigned long>,c
lass std::allocator<bool> >::_Kfn,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(52) : error C2027: use of undefined type '_A'
        d:\utile\microsoft visual studio6\vc98\include\xtree(632) : see declaration of '_A'
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,bool>,struct std::map<unsigned long,bool,struct std::less<unsigned long>,c
lass std::allocator<bool> >::_Kfn,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(52) : error C2146: syntax error : missing ';' before identifier 'difference_type'
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,bool>,struct std::map<unsigned long,bool,struct std::less<unsigned long>,c
lass std::allocator<bool> >::_Kfn,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\xtree(52) : error C2868: 'difference_type' : illegal syntax for using-declaration; expected qualified-name
        d:\utile\microsoft visual studio6\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<unsigned long,struct std::pair<unsigned long const ,bool>,struct std::map<unsigned long,bool,struct std::less<unsigned long>,c
lass std::allocator<bool> >::_Kfn,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(92) : error C2143: syntax error : missing ';' before '['
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
d:\utile\microsoft visual studio6\vc98\include\map(92) : error C2501: '_Tref' : missing storage-class or type specifiers
        d:\workspace\vc6\vnc_winsrc\winvnc\vnckeymap.cpp(317) : see reference to class template instantiation 'std::map<unsigned long,bool,struct std::less<unsigned long>,class std::allocator<bool> >' being compiled
vncMenu.cpp

la log commence par

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
 
--------------------Configuration: WinVNC - Win32 Debug--------------------
Compiling resources...
Compiling...
AdministrationControls.cpp
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications.  To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
Je sens bien qu il aime pas trop XP c'est un message pas tres encouragant.

Quelqu un a t il une reponse au problème ?
Je tourne en rond sur la question

J ai trouve des erreurs similaire sur le net mais personne n'a propose de solution (a part reinstalle VC++ 6 ce que j ai fait).