Hi,
building Harbour from latest SVN ( MinGW + MSYS ), I get errors
---
gcc -I. -I../../../../include -Wall -W -O3 -march=i586
-mtune=pentiumpro -pipe -fomit-frame-pointer -DHB_FM_STATISTICS_OFF
-DHB_EXTENSION -I../../contrib/hbwin -I../../../../contrib/hbwin -c
../../wvgsink.c -owvgsink.o
In file included from
c:/devtools/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h:11,
from
c:/devtools/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:114,
from
c:/devtools/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h:8,
from ../../wvgsink.c:96:
c:/devtools/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleauto.h:172:
error: syntax error before "DISPID"
c:/devtools/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleauto.h:174:
error: syntax error before "cc"
c:/devtools/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleauto.h:178:
error: syntax error before '}' token
[...]
c:/devtools/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleauto.h:603:
error: syntax error before '*' token
c:/devtools/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleauto.h:649:
error: syntax error before "int"
c:/devtools/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleauto.h:650:
error: syntax error before "LCID"
make[3]: *** [wvgsink.o] Error 1
make[3]: Leaving directory
`/c/Harbour/SVN/trunk/harbour/contrib/gtwvg/win/mingw'
make[2]: *** [descend] Error 2
make[2]: Leaving directory `/c/Harbour/SVN/trunk/harbour/contrib/gtwvg'
make[1]: *** [gtwvg.inst] Error 2
make[1]: Leaving directory `/c/Harbour/SVN/trunk/harbour/contrib'
make: *** [contrib.inst] Error 2
---
look like the reasons of errors, is
commented out include of windows.h in wvgsink.c,
in one of the previous posts (seems at revision 10613)
//#include <windows.h>
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour