2023-05-19 16:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* include/hbclass.ch
    ! fixed declaration stripping when HB_CLS_NO_DECLARATIONS is defined

  * src/compiler/hbmain.c
    ! do not generate warnings for undeclared methods when -w[12] is used.
      They should be emitted only for -w3 or higher (if any in the future).
      Thanks to Toninho for the information about the problem.
This commit is contained in:
Przemysław Czerpak
2023-05-19 16:30:00 +02:00
parent ebc83d5d85
commit 6c084dd649
3 changed files with 14 additions and 5 deletions

View File

@@ -139,8 +139,8 @@
#xcommand _HB_CLASS <name> <name> =>
#xcommand _HB_MEMBER <name> =>
#xcommand DECLARE <*decl*> =>
#xtranslate AS <type> =>
#xtranslate AS CLASS <name> =>
#xtranslate AS <!type!> =>
#xtranslate AS CLASS <!name!> =>
#endif
/* should we inherit from HBObject class by default ? */