Hi Chen,

> After this change, Harbour is built when I set:
> 
>    set HB_USER_PRGFLAGS=-l-
>    set HB_USER_CFLAGS=-v -y -vG -Od
>    set HB_USER_LIBS=cg32
>    set HB_BUILD_OPTIM=no
>    set HB_COMPILER=bcc
> 
> But every EXE which is a complied PRG now gives CodeGuard errors
> about pointer arithmetic in invalid memory and other such errors.

Could be, I don't know what is the proper placement of cg32 lib.
Especially since we're using bcc32 (not ilink32) which will add 
CRTL libs on its own, so it's happening in a hidden way right now.

Probably we should change that to direct ilink32 call, like it's 
done in hbmk2, but I won't have time to make this change and all 
the breakages and testing such step usually comes with.

> CodeGuard replace RTL functions with its own, so maybe the placement
> of cg32.lib is wrong. I'll try to investigate, but I'm about to go home, and
> could only continue testing on Sunday.

Okay.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to