On Wed, 18 Mar 2009, Chen Kedem wrote:

Hi,

> (rev10642)
> tests/speedtst.prg does not have svn:eol-style native.
> And complied with Clipper 5.2e I get:
> clipper speedtst /n
> SPEEDTST.PRG(186) Error C2002  Incomplete statement or unbalanced delimiters
> SPEEDTST.PRG(188) Error C2024  Unclosed control structures

Ups, my typo in recent modifications which exploited an old problem with
empty commands delimited by ; in Clipper. Harbour and other compilers
accepts such code. I'll fix it in a while. speedtst.prg[112]:
         [ ( <testExp> ) ] ;        ;
should be changed to:
         [ ( <testExp> ) ; ]        ;

> And if I compile both Clipper and Harbour with /w /n /a I get also these:
> SPEEDTST.PRG(208) Error C2017  Duplicate variable declaration: 'M_C'
> SPEEDTST.PRG(212) Error C2017  Duplicate variable declaration: 'M_N'
> SPEEDTST.PRG(216) Error C2017  Duplicate variable declaration: 'M_D'
> SPEEDTST.PRG(222) Error C2017  Duplicate variable declaration: 'P_C'
> SPEEDTST.PRG(228) Error C2017  Duplicate variable declaration: 'P_N'
> SPEEDTST.PRG(234) Error C2017  Duplicate variable declaration: 'P_D'
> SPEEDTST.PRG(594) Error C2017  Duplicate variable declaration: 'PRV_C'

Do not use /a for Harbour core code. It causes that all MEMVAR declarations
generate above warnings.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to