Firstly make sure you set /EHsc as the waring are telling to do in your
project settings this should help you a lot

Also note the the STL in VC6.0 and VC7.0 is very poor and most folks I
work with use to use Stlport. The version of STL MS uses in VC8 is much
improved and follows the spec much better. It may or may not be that VPB
is using STL features not correctly supported in the STL in VC7 ( just a
guess on that one )

> Hi
>
> after long time no using VP Builder i try do rebuild it on my dev system.
> i
> get strange behaviour what can be wrong ?
>
> /adegli
>
> ------ Build started: Project: vpb, Configuration: Release Win32 ------
>
> Compiling...
> Version.cpp
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\ostream(574) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\istream(828) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\istream(1064) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
> Version.cpp(6) : warning C4273: 'vpbGetVersion' : inconsistent dll linkage
> Version.cpp(28) : warning C4273: 'vpbGetLibraryName' : inconsistent dll
> linkage
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\ostream(479) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\include\ostream(471) : while compiling class-template member
> function 'std::basic_ostream<_Elem,_Traits>::_Myt
> &std::basic_ostream<_Elem,_Traits>::put(_Elem)'
>         with
>         [
>             _Elem=wchar_t,
>             _Traits=std::char_traits<wchar_t>
>         ]
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\include\ostream(561) : see reference to class template
> instantiation 'std::basic_ostream<_Elem,_Traits>' being compiled
>         with
>         [
>             _Elem=wchar_t,
>             _Traits=std::char_traits<wchar_t>
>         ]
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\ostream(479) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\include\ostream(471) : while compiling class-template member
> function 'std::basic_ostream<_Elem,_Traits>::_Myt
> &std::basic_ostream<_Elem,_Traits>::put(_Elem)'
>         with
>         [
>             _Elem=char,
>             _Traits=std::char_traits<char>
>         ]
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\include\ostream(922) : see reference to class template
> instantiation 'std::basic_ostream<_Elem,_Traits>' being compiled
>         with
>         [
>             _Elem=char,
>             _Traits=std::char_traits<char>
>         ]
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\istream(99) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\include\istream(89) : while compiling class-template member
> function 'bool std::basic_istream<_Elem,_Traits>::_Ipfx(bool)'
>         with
>         [
>             _Elem=wchar_t,
>             _Traits=std::char_traits<wchar_t>
>         ]
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\include\istream(816) : see reference to class template
> instantiation 'std::basic_istream<_Elem,_Traits>' being compiled
>         with
>         [
>             _Elem=wchar_t,
>             _Traits=std::char_traits<wchar_t>
>         ]
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\istream(99) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\include\istream(89) : while compiling class-template member
> function 'bool std::basic_istream<_Elem,_Traits>::_Ipfx(bool)'
>         with
>         [
>             _Elem=char,
>             _Traits=std::char_traits<char>
>         ]
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\include\istream(1054) : see reference to class template
> instantiation 'std::basic_istream<_Elem,_Traits>' being compiled
>         with
>         [
>             _Elem=char,
>             _Traits=std::char_traits<char>
>         ]
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\xstring(1453) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\include\xstring(1444) : while compiling class-template member
> function 'void
> std::basic_string<_Elem,_Traits,_Ax>::_Copy(std::basic_string<_Elem,_Traits,_Ax>::size_type,std::basic_string<_Elem,_Traits,_Ax>::size_type)'
>         with
>         [
>             _Elem=char,
>             _Traits=std::char_traits<char>,
>             _Ax=std::allocator<char>
>         ]
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\include\stdexcept(39) : see reference to class template
> instantiation 'std::basic_string<_Elem,_Traits,_Ax>' being compiled
>         with
>         [
>             _Elem=char,
>             _Traits=std::char_traits<char>,
>             _Ax=std::allocator<char>
>         ]
> ThreadPool.cpp
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\ostream(574) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\istream(828) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\istream(1064) :
> warning C4530: C++ exception handler used, but unwind semantics are not
> enabled. Specify /EHsc
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : error C2144: syntax error :
> 'void' should be preceded by ';'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : error C2501: 'WINGDIAPI' :
> missing storage-class or type specifiers
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : error C2146: syntax error :
> missing ';' before identifier 'glAccum'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : error C2182: 'APIENTRY' :
> illegal use of type 'void'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1153) : error C2144: syntax error :
> 'void' should be preceded by ';'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1153) : error C2501: 'WINGDIAPI' :
> missing storage-class or type specifiers
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1153) : error C2086: 'int WINGDIAPI'
> :
> redefinition
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : see declaration of
> 'WINGDIAPI'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1153) : error C2146: syntax error :
> missing ';' before identifier 'glAlphaFunc'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1153) : error C2182: 'APIENTRY' :
> illegal use of type 'void'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1153) : error C2086: 'int APIENTRY' :
> redefinition
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : see declaration of 'APIENTRY'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1154) : error C2146: syntax error :
> missing ';' before identifier 'GLboolean'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1154) : error C2501: 'WINGDIAPI' :
> missing storage-class or type specifiers
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1154) : error C2086: 'int WINGDIAPI'
> :
> redefinition
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : see declaration of
> 'WINGDIAPI'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1154) : error C2146: syntax error :
> missing ';' before identifier 'glAreTexturesResident'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1154) : error C2371: 'APIENTRY' :
> redefinition; different basic types
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : see declaration of 'APIENTRY'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1155) : error C2144: syntax error :
> 'void' should be preceded by ';'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1155) : error C2501: 'WINGDIAPI' :
> missing storage-class or type specifiers
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1155) : error C2086: 'int WINGDIAPI'
> :
> redefinition
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : see declaration of
> 'WINGDIAPI'
> C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1155) : error C2146: syntax error :
> missing ';' before identifier 'glArrayElement'
> C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\PlatformSD
>
> --
> ********************************************
> Adrian Egli
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to