FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Silvo .. changes to your xMate environment
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Silvo .. changes to your xMate environment
Posted: Mon Apr 29, 2024 06:05 PM
Silvo

Found the error ( for me ) in your xMate environment ... made this change for me ... you may need this ??.. I did not /j%HOME%\I18n\Main.hil

Change this line
Code (fw): Select all Collapse
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /w0 /es2 /a /i%HB_INC_INSTALL% /i%HB_INC_INSTALL% /j%HOME%\I18n\Main.hil /iinclude;c:\fwh2404\include;%HB_INSTALL%\include
Here is the corrected line
Code (fw): Select all Collapse
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /w0 /es2 /a /i%HB_INC_INSTALL%
Thanks
Rick Lipkin
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 08:23 AM

I recommend /w3.

Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 10:17 AM
Enrico Maria Giordano wrote:I recommend /w3.
there are problems if on the source there are codeblocks
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 11:47 AM
Enrico Maria Giordano wrote:I recommend /w3.
Enrico, with /W3 -> xHarbour:
Code (fw): Select all Collapse
FUNCTION Main()

   PUBLIC WFLAGCONTABIL, WFLAGPLENO, WFILIAL
   PUBLIC XRESOLUCAO, XSINALSONOR

   XRESOLUCAO    := "R1024_768"
   XSINALSONOR   := [N]
   WFLAGCONTABIL := .F.
   WFLAGPLENO    := ""
   WFILIAL       := .F.

RETURN NIL


PLENOINW.prg(145) Warning W0001  Ambiguous reference: 'WFILIAL'

PLENOINW.prg(167) Warning W0001  Ambiguous reference: 'XRESOLUCAO'

PLENOINW.prg(168) Warning W0001  Ambiguous reference: 'XSINALSONOR'

PLENOINW.prg(169) Warning W0001  Ambiguous reference: 'WFLAGCONTABIL'

PLENOINW.prg(170) Warning W0001  Ambiguous reference: 'WFLAGPLENO'

PLENOINW.prg(171) Warning W0001  Ambiguous reference: 'WFILIAL'
Tks,

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 11:50 AM

You forgot /a (or -a).

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 11:53 AM
Enrico, is there any error in these FLAGS that I use?

Enrico, ¿hay algún error en estas BANDERAS que uso?
Code (fw): Select all Collapse
%hdir%\bin\harbour PLENOINW -n -m -w -es2 -gc0 /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w3 /p  > Erro.log 2>  ERROS.LOG
Tks

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 12:00 PM
Enrico:
Code (fw): Select all Collapse
%hdir%\bin\harbour PLENOINW -a -n -m -w -es2 -gc0 /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w3 /p > Erro.log 2>  ERROS.LOG



PLENOINW.prg(200) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MAIN'

PLENOINW.prg(206) Warning W0003  Variable: 'OBAR' declared but not used in function: 'MAIN(27)'

PLENOINW.prg(206) Warning W0003  Variable: 'OBMP' declared but not used in function: 'MAIN(27)'

PLENOINW.prg(206) Warning W0003  Variable: 'OINDEX' declared but not used in function: 'MAIN(27)'

PLENOINW.prg(206) Warning W0003  Variable: 'HBMP' declared but not used in function: 'MAIN(27)'

PLENOINW.prg(206) Warning W0032  Variable 'OHAND' is assigned but not used in function 'MAIN(174)'

PLENOINW.prg(222) Warning W0001  Ambiguous reference: 'SISTEMA'

PLENOINW.prg(227) Warning W0001  Ambiguous reference: 'VSIS'

PLENOINW.prg(227) Warning W0001  Ambiguous reference: 'XRESOLUCAO'

PLENOINW.prg(230) Warning W0004  Codeblock parameter: 'NKEY' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(264) Warning W0001  Ambiguous reference: 'VSIS'

PLENOINW.prg(279) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(300) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(318) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(339) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(362) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(386) Warning W0001  Ambiguous reference: 'FLAG_SFE2'

PLENOINW.prg(398) Warning W0001  Ambiguous reference: 'FLAG_SFE2'

PLENOINW.prg(406) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(416) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(430) Warning W0001  Ambiguous reference: 'VSIS'

PLENOINW.prg(443) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(464) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(485) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(512) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(533) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(554) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(572) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(594) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(627) Warning W0004  Codeblock parameter: 'SELF' declared but not used in function: 'MDI_CHILD'

PLENOINW.prg(631) Warning W0003  Variable: 'OBAR' declared but not used in function: 'MDI_CHILD(210)'

PLENOINW.prg(631) Warning W0003  Variable: 'OBAR2' declared but not used in function: 'MDI_CHILD(210)'

PLENOINW.prg(631) Warning W0003  Variable: 'OBRUSH2' declared but not used in function: 'MDI_CHILD(210)'

PLENOINW.prg(631) Warning W0003  Variable: 'OBMP' declared but not used in function: 'MDI_CHILD(210)'

PLENOINW.prg(631) Warning W0003  Variable: 'OPROVEDOR' declared but not used in function: 'MDI_CHILD(211)'

PLENOINW.prg(631) Warning W0003  Variable: 'DEONDEVEM' declared but not used in function: 'MDI_CHILD(211)'

PLENOINW.prg(631) Warning W0003  Variable: 'OCHECK1' declared but not used in function: 'MDI_CHILD(212)'

PLENOINW.prg(631) Warning W0003  Variable: 'OCHECK2' declared but not used in function: 'MDI_CHILD(212)'

PLENOINW.prg(631) Warning W0003  Variable: 'HBMP' declared but not used in function: 'MDI_CHILD(212)'

PLENOINW.prg(631) Warning W0032  Variable 'ABOTONES' is assigned but not used in function 'MDI_CHILD(208)'

PLENOINW.prg(631) Warning W0032  Variable 'OICO' is assigned but not used in function 'MDI_CHILD(237)'

PLENOINW.prg(652) Warning W0003  Variable: 'N' declared but not used in function: 'BMPTILED(634)'

PLENOINW.prg(652) Warning W0032  Variable 'NCOL' is assigned but not used in function 'BMPTILED(634)'

PLENOINW.prg(703) Warning W0004  Codeblock parameter: 'OMENUITEM' declared but not used in function: 'BUILDMENU'

PLENOINW.prg(709) Warning W0004  Codeblock parameter: 'OMENUITEM' declared but not used in function: 'BUILDMENU'

PLENOINW.prg(714) Warning W0004  Codeblock parameter: 'OMENUITEM' declared but not used in function: 'BUILDMENU'

PLENOINW.prg(719) Warning W0004  Codeblock parameter: 'OMENUITEM' declared but not used in function: 'BUILDMENU'
Misericordia, hahahahahaha.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 01:13 PM

Unfortunately, Harbour does not have a switch like -wb- of xHarbour that suppresses that kind of warnings. I can help you if you post a compilable sample showing the warnings.

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 01:23 PM
Enrico Maria Giordano wrote:Unfortunately, Harbour does not have a switch like -wb- of xHarbour that suppresses that kind of warnings. I can help you if you post a compilable sample showing the warnings.
Super grateful, I'll take care of it and upload it to my Mega Upload. Use XHARBOUR, never HARBOUR.

Super agradecido, ya me encargo y lo subo a mi Mega Upload. Utilice XHARBOUR, nunca HARBOUR.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 01:37 PM
Enrico, look CX.BAT and CX.LNK and ERROS.LOG

Download:

https://mega.nz/file/xVE1zaKD#zypBQDf9TooAIoCuMZ_cNmjPIgUJUQawf_y3rU7izYM

Tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 02:01 PM
karinha wrote:Super grateful, I'll take care of it and upload it to my Mega Upload. Use XHARBOUR, never HARBOUR.
If you are using xHarbour you can just add -wb- compiler switch to suppress those warnings.
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 02:46 PM
Enrico Maria Giordano wrote:
Super grateful, I'll take care of it and upload it to my Mega Upload. Use XHARBOUR, never HARBOUR.
If you are using xHarbour you can just add -wb- compiler switch to suppress those warnings.
Enrico, donde pongo el -wb- ?
Code (fw): Select all Collapse
%hdir%\bin\harbour JIMMYSKI -wb- /n /m /w /es2 /gc3  /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w3 /p  > Erro.log 2>  ERROS.LOG


JIMMYSKI.prg(16) Warning W0001  Ambiguous reference: 'WFLAGCONTABIL'

JIMMYSKI.prg(17) Warning W0001  Ambiguous reference: 'WFLAGPLENO'

JIMMYSKI.prg(18) Warning W0001  Ambiguous reference: 'WFILIAL'

JIMMYSKI.prg(37) Warning W0032  Variable 'OBUTTON' is assigned but not used in function 'MAIN(31)'
This is just curiosity, as /W3 never worked.

Tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 02:53 PM
karinha wrote:Enrico, donde pongo el -wb- ?
Near the other switches, but after /w3.
karinha wrote:This is just curiosity, as /W3 never worked.
/w3 (note the lowercase!) is working perfectly. I'm always using it.
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 03:02 PM

Enrico, it NEVER worked. Please modify FiveWin's BUILDX.BAT and post here for testing.

Super grateful.

Enrico, NUNCA funcionó. Modifique BUILDX.BAT de FiveWin y publíquelo aquí para realizar pruebas.

Súper agradecido.

Tks.

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Silvo .. changes to your xMate environment
Posted: Tue Apr 30, 2024 03:35 PM
karinha wrote:Enrico, it NEVER worked. Please modify FiveWin's BUILDX.BAT and post here for testing.
Super grateful.
Which error do you get?