I understand, thanks for the tip. I've just committed this
modification.
Something's still not right though. When compiling checkbox.prg
(the first OO code in the build process), lots of syntax errors
appear, then - after a slight pause - comes a memory allocation error:
>harbour checkbox.prg /p /n /w /i..\include
Harbour devel build 1.1-1 Intl.
Copyright (c) 1999-2008, http://www.harbour-project.org/
Compiling 'checkbox.prg' and generating preprocessed output to
'checkbox.ppo'...
checkbox.prg(69) Error E0030 Syntax error: "syntax error at '.'"
checkbox.prg(75) Error E0030 Syntax error: "syntax error at 'DISPLAY'"
checkbox.prg(76) Error E0030 Syntax error: "syntax error at
'_CLASS_MODE_'"
checkbox.prg(77) Error E0030 Syntax error: "syntax error at
'_CLASS_MODE_'"
checkbox.prg(78) Error E0030 Syntax error: "syntax error at
'_CLASS_MODE_'"
checkbox.prg(79) Error E0030 Syntax error: "syntax error at
'_CLASS_MODE_'"
checkbox.prg(81) Error E0030 Syntax error: "syntax error at 'BITMAPS'"
checkbox.prg(82) Error E0030 Syntax error: "syntax error at 'BUFFER'"
checkbox.prg(83) Error E0030 Syntax error: "syntax error at 'CAPCOL'"
checkbox.prg(84) Error E0030 Syntax error: "syntax error at 'CAPROW'"
checkbox.prg(85) Error E0030 Syntax error: "syntax error at 'CAPTION'"
checkbox.prg(86) Error E0030 Syntax error: "syntax error at 'COL'"
checkbox.prg(87) Error E0030 Syntax error: "syntax error at
'COLORSPEC'"
checkbox.prg(88) Error E0030 Syntax error: "syntax error at 'FBLOCK'"
checkbox.prg(89) Error E0030 Syntax error: "syntax error at 'HASFOCUS'"
checkbox.prg(90) Error E0030 Syntax error: "syntax error at 'MESSAGE'"
checkbox.prg(91) Error E0030 Syntax error: "syntax error at 'ROW'"
checkbox.prg(92) Error E0030 Syntax error: "syntax error at 'SBLOCK'"
checkbox.prg(93) Error E0030 Syntax error: "syntax error at 'STYLE'"
checkbox.prg(94) Error E0030 Syntax error: "syntax error at 'TYPEOUT'"
checkbox.prg(96) Error E0030 Syntax error: "syntax error at 'NEW'"
checkbox.prg(116) Error E0030 Syntax error: "syntax error at '.'"
checkbox.prg(118) Error E0030 Syntax error: "syntax error at
'FUNCTION'"
checkbox.prg(120) Warning W0001 Ambiguous reference: 'SELF'
checkbox.prg(121) Warning W0001 Ambiguous reference: 'SELF'
checkbox.prg(122) Warning W0001 Ambiguous reference: 'SELF'
checkbox.prg(123) Warning W0001 Ambiguous reference: 'SELF'
checkbox.prg(125) Warning W0001 Ambiguous reference: 'SELF'
checkbox.prg(126) Warning W0001 Ambiguous reference: 'SELF'
checkbox.prg(130) Warning W0001 Ambiguous reference: 'SELF'
Unrecoverable error 9006: hb_xgrab can't allocate memory
Brgds,
Viktor
On 2008.01.08., at 17:17, Przemyslaw Czerpak wrote:
On Tue, 08 Jan 2008, Szakáts Viktor wrote:
You can implement this as a HB_C52_STRICT option IMO.
(As an aside, in my last tests Harbour didn't compile
with strict because of some OO compilation problems, but anyway).
Yes. Clipper PP does not have identifier concatenation at all.
In the moment when you removed support for method names without
class name prefixes (HB_SHORTNAMES macro) you blocked compilation
of any code which needs hbclass.ch with Harbour compiled with
HB_C52_STRICT. If you want to restore HB_C52_STRICT functionality
you will have to revert your modifications in hbclass.ch
best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour