On Sat, 15 Dec 2007, David Arturo Macias Corona wrote:
> First try of current Harbour devel branch build under OS/2:
> - eCS 1.2MR
> - gcc (GCC) 3.3.5 (Bird Build 2006-03-18 05:37)
> - set C_USR=-DHB_LONG_LONG_OFF
> ---------------------------------------------------------
> [E:\harbour712]make -r           1>make_gnu.log
> ../../hbfsapi.c: In function `hb_fsFileExists':
> ../../hbfsapi.c:327: warning: unused variable `TODO'
> ../../hbfsapi.c: In function `hb_fsDirExists':
> ../../hbfsapi.c:379: warning: unused variable `TODO'

It's intentional "feature" which clearly shows that sth is not implemented.
In this case we will have to add OS2 support for hb_fsFileExists() and
hb_fsDirExists().  I'll add in a while but you will have to test it.
Without these warning we would miss it miss it. I would like to ask all
developers to remeber about such warning markers in other code.

> make[2]: *** [first] Error 31880
> ../../dbf1.c: In function `hb_dbfTableCrypt':
> ../../dbf1.c:638: warning: int format, BOOL arg (arg 2)

Ups. It's printf() I left by mistake. I'll remove it ASAP.

> ../../../../source/rtl/os2/gcc/rtl.a(gtsys.o): Undefined symbol 
> _HB_FUN_HB_GT_OS2 referenced from text segment
> make[3]: *** [hbrun.exe] Error 1
> make[2]: *** [descend] Error 2
> hbdot.o: Undefined symbol _HB_FUN_HB_GT_OS2_DEFAULT referenced from data 
> segment

This should not happen. It looks like a problem with GNU make you
are using. I'll try to add workaround for it and please check if
it will help.

> In file included from ../../../../include/extend.api:58,
>                  from ../../../../include/extend.h:65,
>                  from ../../fttext.c:177:
> ../../../../include/clipdefs.h:72: warning: redefinition of `PBYTE'
> E:/usr/include/os2emx.h:235: warning: `PBYTE' previously declared here
> ../../../../include/clipdefs.h:76: warning: redefinition of `PSHORT'
> E:/usr/include/os2emx.h:241: warning: `PSHORT' previously declared here
> ../../../../include/clipdefs.h:79: warning: redefinition of `PUSHORT'
> E:/usr/include/os2emx.h:244: warning: `PUSHORT' previously declared here
> ../../../../include/clipdefs.h:88: warning: redefinition of `PLONG'
> E:/usr/include/os2emx.h:247: warning: `PLONG' previously declared here
> ../../../../include/clipdefs.h:91: warning: redefinition of `PULONG'
> E:/usr/include/os2emx.h:250: warning: `PULONG' previously declared here
> ../../../../include/clipdefs.h:98: warning: redefinition of `PBOOL'
> E:/usr/include/os2emx.h:209: warning: `PBOOL' previously declared here
> ../../../../include/clipdefs.h:107: warning: redefinition of `PVOID'
> E:/usr/include/os2emx.h:278: warning: `PVOID' previously declared here

This is general problem with Clipper compatible header files.
They cause in OS2 name conflicts in aboove definitions. I'll
add workaround for it in clipdefs.h though maybe we should
change fttext.c and mouse.c in contrib/hbnf to use only harbour
functions and not include clipdefs.h


Many thanks for your tests. Please try again after my next commit.
It will be ready in few minutes.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to