Unfortunately, the issue seems to be worth now:
..\src\bunzip2stream.cpp(47) : error C2226: Syntaxfehler: Typ 'T' nicht
erwartet ..\src\bunzip2stream.cpp(47) : error C2988: Unerkannte
Vorlagendeklaration/-definition ..\src\bunzip2stream.cpp(47) : error C2059:
Syntaxfehler: '<cv-qualifer>' ..\src\bunzip2stream.cpp(47) : error C2059:
Syntaxfehler: ')'
..\src\bunzip2stream.cpp(49) : error C2143: Syntaxfehler: Es fehlt ';' vor
'}' ..\src\bunzip2stream.cpp(85) : error C2065: 'ret': nichtdeklarierter
Bezeichner ..\src\bunzip2stream.cpp(86) : error C2065: 'ret':
nichtdeklarierter Bezeichner ..\src\bunzip2stream.cpp(94) : error C2065:
'ret': nichtdeklarierter Bezeichner ..\src\bunzip2stream.cpp(122) : error
C2589: '(': Ungültiges Token auf der rechten Seite von '::'
..\src\bunzip2stream.cpp(122) : error C2988: Unerkannte
Vorlagendeklaration/-definition ..\src\bunzip2stream.cpp(122) : error
C2059: Syntaxfehler: '::'
Emmanuel
Strange. I tried to solve the issue by defining my own min template
function.
The problem is, that min is defined as a macro somewhere in windows.h I think.
This can be prevented by #define NOMINMAX. But I wonder, where windows.h is
included. Maybe in bzlib.h.
I renamed my min-function now.
Tommi