I am getting some errors with the latest release of SVN to compile it
with MinGW ( from Qt package), see details :

../../wvgwin.c: In function `HB_FUN_WVG_SETCURRENTBRUSH':
../../wvgwin.c:2059: warning: implicit declaration of function `SetClassLongPtr'
../../wvgwin.c:2059: error: `GCLP_HBRBACKGROUND' undeclared (first use
in this function)
../../wvgwin.c:2059: error: (Each undeclared identifier is reported only once
../../wvgwin.c:2059: error: for each function it appears in.)
mingw32-make.exe[3]: *** [wvgwin.o] Error 1
mingw32-make.exe[3]: Leaving directory `c:/Harbour/contrib/gtwvg/win/mingw'
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[2]: Leaving directory `c:/Harbour/contrib/gtwvg'
mingw32-make.exe[1]: *** [gtwvg.inst] Error 2
mingw32-make.exe[1]: Leaving directory `c:/Harbour/contrib'
mingw32-make.exe: *** [contrib.inst] Error 2
c:\Harbour>
c:\Harbour>g++ --version
g++ (GCC) 3.4.2 (mingw-special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

c:\Harbour>mingw32-make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-pc-mingw32

c:\Harbour>

I use MinGW from original Qt Packet and after Again edited the file
wvgwin.c and replace the constant value GCLP_HBRBACKGROUND by a
literal value -10 (same as
C:\harbour\contrib\examples\hbwhat\winuser.ch) and everything went
well.

Regards,
Vailton Renato
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to