Errors compiling abiword under win32

James Lefavour (jamesl@albany.net)
Wed, 21 Oct 1998 11:49:30 -0400


I get the following errors during make:
In each case, explicit casting of SelectObject or GetStockObject seems to
correct the problem...
>>>>
../../../config/abi_rules.mk:124: warning: ignoring old commands for target
`Abi
Word.exe'
dg_Win32TESTMAIN.cpp
dg_Win32Graphics.cpp
dg_Win32Graphics.cpp(318) : error C2440: 'initializing' : cannot convert
from 'void *' to 'struct HPEN__ *'
Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
dg_Win32Graphics.cpp(332) : error C2440: 'initializing' : cannot convert
from 'void *' to 'struct HPEN__ *'
Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
dg_Win32Graphics.cpp(397) : error C2440: 'initializing' : cannot convert
from 'void *' to 'struct HBRUSH__ *'
Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
dg_Win32Graphics.cpp(403) : error C2440: 'initializing' : cannot convert
from 'void *' to 'struct HBRUSH__ *'
Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
make[3]: *** [WINNT_4.10_i586_DBG/dg_Win32Graphics.obj] Error 2
make[2]: *** [install] Error 2
make[1]: *** [install] Error 2
make: *** [install] Error 2
BASH.EXE-2.01$
<<<<

Also, I get the following warning:
>>>>
dg_Win32Mouse.cpp(148) : warning C4553: '==' : operator has no effect; did
you i
ntend '='?
<<<<
This refers to the following line:
m_iCaptureCount==0;
Shouldn't this be '=' ?

Jim Lefavour



This archive was generated by hypermail 1.03b2.