[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

1.21 lib compile errs MS VC++ 6.0



I am learning about V, and began by trying to build the libraries for
MS VC++ 6.0 (SP2):

vglmsvc32.lib - no problems - project converted from 4.0 and compiled
without errors or warnings.

vmsvc32.lib - project converted from 4.0 and compiled with the
following 8 errors and 1 warning (see below).

Are there fixes available for these problems?

--Beman Dawes <beman@esva.net>

---- compiler messages  -----

Vbtncmd.cpp
C:\V\Srcwin\Vbtncmd.cpp(338) : error C2440: '=' : cannot convert from
'struct HBRUSH__ *' to 'struct HPEN__ *'
        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
C:\V\Srcwin\Vbtncmd.cpp(340) : error C2440: '=' : cannot convert from
'struct HBRUSH__ *' to 'struct HPEN__ *'
        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
C:\V\Srcwin\Vbtncmd.cpp(439) : error C2440: 'initializing' : cannot
convert from 'void *' to 'struct HBITMAP__ *'
        Conversion from 'void*' to pointer to non-'void' requires an
explicit cast

Vicon.cpp
C:\V\Srcwin\Vicon.cpp(139) : error C2440: 'initializing' : cannot
convert from 'void *' to 'struct HBITMAP__ *'
        Conversion from 'void*' to pointer to non-'void' requires an
explicit cast

Vlabelc.cpp
C:\V\Srcwin\Vlabelc.cpp(170) : error C2440: 'initializing' : cannot
convert from 'void *' to 'struct HBRUSH__ *'
        Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
C:\V\Srcwin\Vlabelc.cpp(178) : error C2440: 'initializing' : cannot
convert from 'void *' to 'struct HBITMAP__ *'
        Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
C:\V\Srcwin\Vlabelc.cpp(211) : error C2440: '=' : cannot convert from
'void *' to 'struct HBRUSH__ *'
        Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
C:\V\Srcwin\Vlabelc.cpp(216) : error C2440: 'initializing' : cannot
convert from 'void *' to 'struct HBITMAP__ *'
        Conversion from 'void*' to pointer to non-'void' requires an
explicit cast

Vtexted.cpp
C:\V\Srcwin\Vtexted.cpp(1762) : warning C4101: 'force_tidy' :
unreferenced local variable


Reply to: