Hi, This has been answered earlier this year to the exact same question of yours:
----------------------------------------------------------------- Begin forwarded message: > From: Phil Krylov <[email protected]> > Date: 2009 March 18 21:43:17 CET > To: "Harbour Project Main Developer List." <[email protected]> > Subject: Re: [Harbour] compiler error > Reply-To: "Harbour Project Main Developer List." <[email protected]> > > Hi, > > On Wed, Mar 18, 2009 at 6:15 PM, WenSheng <[email protected]> wrote: >> >>> Thank you, so I understand this is the _only_ such error while building >>> complete Harbour? >> >> No!! is BCC5. >> >>> >>> Can you make tests using MSVC or MinGW compiler? (both free) >> >> I just test MinGW(gcc 4.3.3) and can compiler lang & codepage *.c >> >> ps. don't ask me to change MingW from BCC55. > > I'd try to enforce single-byte codepage in BCC by compiling with > HB_USER_CFLAGS=-CP437 > Although docs say this only affects the preprocessor, I'd check it. > > -- Ph. ----------------------------------------------------------------- It's a BCC problem. Maybe we should add this option as default for BCC, any objection to that? Brgds, Viktor On 2009 Dec 25, at 11:45, WenSheng wrote: > Hi. > > OK, Thank your suggest and I delete all svn and update all then build > harbour, > but I still get error message like this: > ---------------------------------------- > 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: > Error E2380 ../../../../../include\hbcdpreg.h 84: Unterminated string or > charact > er constant in function _hb_codepage_Init_ > + Full parser context > + ../../../cpbg866.c, line 61: #include ../../../../../include\hbcdpreg.h > Error E2121 ../../../../../include\hbcdpreg.h 88: Function call missing ) in > fun > ction _hb_codepage_Init_ > + Full parser context > + ../../../cpbg866.c, line 61: #include ../../../../../include\hbcdpreg.h > *** 2 errors in Compile *** > win-make[3]: *** [cpbg866.obj] Error 1 > win-make[2]: *** [descend] Error 2 > win-make[1]: *** [codepage] Error 2 > win-make: *** [src] Error 2 > ---------------------------------------- > > What happens? Is not what I am missing to set? > > >>> ---------------------------- >>> at old harbour, I can modify 'cpbg866.c' and recompiler, all right, >>> but, now I can't to do this. >> >> You are not using clean SVN code. cpbg866.c has only 62 lines in SVN >> and function hb_cdpRegister() is not longer used by Harbour. >> >> You mixed old harbour code with current one or Harbour and xHarbour files. >> BTW I would like to ask you to verify if you are using clean unmodified >> SVN code before you report problems. We have very limited resources and >> they are reduced when we have to verify such reports. In clean SVN tree >> if you use: >> svn stat >> then it should show nothing. >> >> best regards, >> Przemek > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
