2023-05-12 18:13 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

209 views
Skip to first unread message

Przemyslaw Czerpak

unread,
May 12, 2023, 12:13:20 PM5/12/23
to harbou...@googlegroups.com
2023-05-12 18:13 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/compiler/hbmain.c
! fixed GPFs in dummy and never finished code for strong typing and message
call validation.

best regards
Przemek

Wen Sheng

unread,
May 13, 2023, 11:27:44 AM5/13/23
to Harbour Developers
Hi !!
I'm use last svn harbour:
D:\hb32\harbour-core>harbour -build
Harbour 3.2.0dev (r2305121613)
Copyright (c) 1999-2021, https://harbour.github.io/

Harbour Build Info
---------------------------
Version: Harbour 3.2.0dev (r2305121613)
Compiler: Borland/Embarcadero C++ 7.4 (32-bit)
Platform: Windows 10 10.0
PCode version: 0.3
ChangeLog last entry: 2023-05-12 18:13 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
ChangeLog ID: 6f107d1863e7c1ca7051baa69d304eee4f18c249
Built on: May 13 2023 12:01:41
Build options: (Clipper 5.3b) (Clipper 5.x undoc)
---------------------------

test.prg
--------------------
#include "hbclass.ch"
CLASS TTest
   DATA aTest
   DATA bTest
ENDCLASS

compiler it:

Class member 'ATEST' declaration without class definition.
Class member 'BTEST' declaration without class definition.

Przemyslaw Czerpak 在 2023年5月13日 星期六凌晨12:13:20 [UTC+8] 的信中寫道:

Lailton Fernando Mariano

unread,
May 16, 2023, 5:02:36 PM5/16/23
to Harbour Developers
Sorry but I dont think that I understand the update and CLASS is something really importand
and that me in special use a lot, I want to understand what is wrong and what is the reason for this update.

Can you explain Why I got this error now with a simple code like this?

#include "hbclass.ch"

function main()

local o := ttest():init()

o:setText( "a" )
? o:getText()
o := nil

return nil

class ttest

data text init ''

method init() constructor
method setText( text ) inline ::text := text
method getText() inline ::text

endclass

method init() class ttest
return self


Compiling 'test.prg'...

Class member 'TEXT' declaration without class definition.

Class member 'INIT' declaration without class definition.

Class member 'SETTEXT' declaration without class definition.

Class member 'GETTEXT' declaration without class definition.

4 errors

toninhofwi

unread,
May 19, 2023, 5:31:17 AM5/19/23
to Harbour Developers
Hi Przemek, I have a lot of errors when compiling after this changelog, is this my fault please?

---cut---
CLASS myClass
   DATA oConn
   METHOD New()
ENDCLASS
METHOD New() CLASS myClass
return Self
---cut---
Class member 'OCONN' declaration without class definition.
Class member 'NEW' declaration without class definition.
2 errors

Any hint are welcome, thank you.
Regards.
Toninho.
Reply all
Reply to author
Forward
0 new messages