>
> > hbcdpreg.h file define have bug:
>
> I do not see any bugs in this file.
>
> > static HB_CODEPAGE s_codePage =
> > {
> > HB_MACRO2STRING( HB_CP_ID ),
> > HB_CP_INFO,
> > HB_CP_UNITB,
> > s_flags,
> > s_upper,
> > s_lower,
> > s_sort,
> > NULL,
> > HB_CDP_ACSORT_NONE,
> > 0,
> > 0,
> > NULL,
> > NULL,
> > NULL,
> > };
> > can't compiler use BCC551
>
> It's expected behavior.
> This file cannot be compiled as standalone header file.
> Just like hbmsgreg.h and hbgtreg.h it can be used only
> to define startup code in some modules.
> What are you trying to do with this file?
I'm use SVN to update harbour source code and clean, build harbour,
when I compiler to ./source/codepage/cpbg866.c and occur error message
like:
----------------------------
bcc32.exe -I. -I../../../../../include -q -tWM -w -w-sig- -Q -d -6 -O2 -OS -Ov
-Oi -Oc -I"d:\bcc55\bin\..\Include" -ocpbg866.obj -c ../../../cpbg866.c
../../../cpbg866.c:
Warning W8069 ../../../cpbg866.c 86: Nonportable pointer conversion
Warning W8079 ../../../cpbg866.c 87: Mixing pointers to different 'char' types
Warning W8079 ../../../cpbg866.c 88: Mixing pointers to different 'char' types
Error E2225 ../../../cpbg866.c 89: Too many initializers
Error E2141 ../../../cpbg866.c 89: Declaration syntax error
Error E2190 ../../../cpbg866.c 89: Unexpected }
Error E2190 ../../../cpbg866.c 89: Unexpected }
Warning W8065 ../../../cpbg866.c 91: Call to function 'hb_cdpRegister' with no p
rototype in function hb_codepage_Init_BG866
*** 4 errors in Compile ***
win-make[1]: *** [cpbg866.obj] Error 1
win-make: *** [descend] Error 2
----------------------------
at old harbour, I can modify 'cpbg866.c' and recompiler, all right,
but, now I can't to do this.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour