Revision: 13560
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13560&view=rev
Author: druzus
Date: 2010-01-14 00:45:19 +0000 (Thu, 14 Jan 2010)
Log Message:
-----------
2010-01-14 01:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/harbour.y
* harbour/src/compiler/harbour.yyh
* harbour/src/compiler/harbour.yyc
! pacified compile time error when ... is used as parameter in _HB_MEMBRER
declaration. TODO: Remove or fix this strong typing grammar rules.
* harbour/src/debug/dbgtwin.prg
* harbour/src/debug/dbgtmenu.prg
* harbour/src/debug/tbrwtext.prg
* harbour/src/debug/debugger.prg
* harbour/src/debug/dbgtinp.prg
* harbour/src/rtl/tbcolumn.prg
* harbour/src/rtl/listbox.prg
* harbour/src/rtl/pushbtn.prg
* harbour/src/rtl/treport.prg
* harbour/src/rtl/radiogrp.prg
* harbour/src/rtl/tthreadx.prg
* harbour/src/rtl/checkbox.prg
* harbour/src/rtl/tsymbol.prg
* harbour/src/rtl/teditor.prg
* harbour/src/rtl/tmenuitm.prg
* harbour/src/rtl/tbrowse.prg
* harbour/contrib/hbmysql/tmysql.prg
* harbour/contrib/xhb/stream.prg
* harbour/contrib/xhb/trpccli.prg
* harbour/contrib/xhb/hblognet.prg
* harbour/contrib/xhb/tfile.prg
* harbour/contrib/xhb/tframe.prg
* harbour/contrib/xhb/htjlist.prg
* harbour/contrib/xhb/hblog.prg
* harbour/contrib/xhb/trpc.prg
* harbour/contrib/xhb/thtm.prg
* harbour/contrib/xhb/tcgi.prg
* harbour/contrib/xhb/ttable.prg
* harbour/contrib/xhb/txml.prg
* harbour/contrib/xhb/hjwindow.prg
* harbour/contrib/xhb/htmutil.prg
* harbour/contrib/hbodbc/todbc.prg
* harbour/contrib/hbfbird/tfirebrd.prg
* harbour/contrib/xpp/tthreadx.prg
* harbour/contrib/hbpgsql/tpostgre.prg
* harbour/contrib/hbgd/gdchart.prg
* harbour/contrib/hbgd/gdimage.prg
* harbour/contrib/hbgd/gdbar.prg
* harbour/contrib/hbgd/gdbarcod.prg
* harbour/contrib/hbmisc/twirler.prg
* harbour/contrib/hbtip/thtml.prg
* harbour/contrib/hbtip/cgi.prg
* harbour/contrib/hbtip/httpcli.prg
* harbour/contrib/hbtip/smtpcli.prg
* harbour/contrib/hbtip/client.prg
* harbour/contrib/hbtip/ftpcli.prg
* harbour/contrib/hbtip/mail.prg
* harbour/contrib/hbtip/popcli.prg
* harbour/contrib/hbwin/win_tprn.prg
* harbour/contrib/hbbtree/tbtree.prg
* harbour/utils/hbformat/hbformat.prg
! fixed class method declarations to be synced with method implementations
All of the above missdeclarations were detected by compilation with:
HB_USER_PRGFLAGS=-DHB_CLS_PARAMS_ERR
Few years ago in hbclass.ch I defined PP rules to force strict method
declarations but I had to disable them due to problems with old PP.
I defined HB_CLS_NO_PARAMS_ERR and left this note in hbclass.ch:
> I have to enable this definition by default until we will not fix
> preprocessor. [druzus]
Current PP code works correctly so we can remove it and activate this
code. Anyhow as above commit shows a lot of code has been created with
wrong declarations. I fixed Harbour core code (except HBQT, HBXBP and
GTWVG - I hope Pritpal or Viktor will fix it) but setting
HB_CLS_PARAMS_ERR as default will exploit a lot of similar problems in
user code so I would like the hear other developers' opinions about it.
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbbtree/tbtree.prg
trunk/harbour/contrib/hbfbird/tfirebrd.prg
trunk/harbour/contrib/hbgd/gdbar.prg
trunk/harbour/contrib/hbgd/gdbarcod.prg
trunk/harbour/contrib/hbgd/gdchart.prg
trunk/harbour/contrib/hbgd/gdimage.prg
trunk/harbour/contrib/hbmisc/twirler.prg
trunk/harbour/contrib/hbmysql/tmysql.prg
trunk/harbour/contrib/hbodbc/todbc.prg
trunk/harbour/contrib/hbpgsql/tpostgre.prg
trunk/harbour/contrib/hbtip/cgi.prg
trunk/harbour/contrib/hbtip/client.prg
trunk/harbour/contrib/hbtip/ftpcli.prg
trunk/harbour/contrib/hbtip/httpcli.prg
trunk/harbour/contrib/hbtip/mail.prg
trunk/harbour/contrib/hbtip/popcli.prg
trunk/harbour/contrib/hbtip/smtpcli.prg
trunk/harbour/contrib/hbtip/thtml.prg
trunk/harbour/contrib/hbwin/legacy.prg
trunk/harbour/contrib/hbwin/win_tprn.prg
trunk/harbour/contrib/xhb/hblog.prg
trunk/harbour/contrib/xhb/hblognet.prg
trunk/harbour/contrib/xhb/hjwindow.prg
trunk/harbour/contrib/xhb/htjlist.prg
trunk/harbour/contrib/xhb/htmutil.prg
trunk/harbour/contrib/xhb/stream.prg
trunk/harbour/contrib/xhb/tcgi.prg
trunk/harbour/contrib/xhb/tfile.prg
trunk/harbour/contrib/xhb/tframe.prg
trunk/harbour/contrib/xhb/thtm.prg
trunk/harbour/contrib/xhb/trpc.prg
trunk/harbour/contrib/xhb/trpccli.prg
trunk/harbour/contrib/xhb/ttable.prg
trunk/harbour/contrib/xhb/txml.prg
trunk/harbour/contrib/xpp/tthreadx.prg
trunk/harbour/src/compiler/harbour.y
trunk/harbour/src/compiler/harbour.yyc
trunk/harbour/src/compiler/harbour.yyh
trunk/harbour/src/debug/dbgtinp.prg
trunk/harbour/src/debug/dbgtmenu.prg
trunk/harbour/src/debug/dbgtwin.prg
trunk/harbour/src/debug/debugger.prg
trunk/harbour/src/debug/tbrwtext.prg
trunk/harbour/src/rtl/checkbox.prg
trunk/harbour/src/rtl/listbox.prg
trunk/harbour/src/rtl/pushbtn.prg
trunk/harbour/src/rtl/radiogrp.prg
trunk/harbour/src/rtl/tbcolumn.prg
trunk/harbour/src/rtl/tbrowse.prg
trunk/harbour/src/rtl/teditor.prg
trunk/harbour/src/rtl/tmenuitm.prg
trunk/harbour/src/rtl/treport.prg
trunk/harbour/src/rtl/tsymbol.prg
trunk/harbour/src/rtl/tthreadx.prg
trunk/harbour/utils/hbformat/hbformat.prg
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour