Silvo .. changes to your xMate environment

Silvo .. changes to your xMate environment

Postby Rick Lipkin » Mon Apr 29, 2024 6: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: Select all  Expand view

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: Select all  Expand view

HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /w0 /es2 /a /i%HB_INC_INSTALL%
 


Thanks
Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Re: Silvo .. changes to your xMate environment

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Silvo .. changes to your xMate environment

Postby karinha » Tue Apr 30, 2024 11:47 am

Enrico Maria Giordano wrote:I recommend /w3.


Enrico, with /W3 -> xHarbour:

Code: Select all  Expand view

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
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Re: Silvo .. changes to your xMate environment

Postby karinha » 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: Select all  Expand view

%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
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Silvo .. changes to your xMate environment

Postby karinha » Tue Apr 30, 2024 12:00 pm

Enrico:

Code: Select all  Expand view


%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
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Silvo .. changes to your xMate environment

Postby Enrico Maria Giordano » Tue Apr 30, 2024 1: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.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Silvo .. changes to your xMate environment

Postby karinha » Tue Apr 30, 2024 1: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
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Silvo .. changes to your xMate environment

Postby karinha » Tue Apr 30, 2024 1: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
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Silvo .. changes to your xMate environment

Postby Enrico Maria Giordano » Tue Apr 30, 2024 2: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.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Silvo .. changes to your xMate environment

Postby karinha » Tue Apr 30, 2024 2:46 pm

Enrico Maria Giordano wrote:
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.


Enrico, donde pongo el -wb- ?

Code: Select all  Expand view

%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
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Silvo .. changes to your xMate environment

Postby Enrico Maria Giordano » Tue Apr 30, 2024 2: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.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Silvo .. changes to your xMate environment

Postby karinha » Tue Apr 30, 2024 3: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
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Silvo .. changes to your xMate environment

Postby Enrico Maria Giordano » Tue Apr 30, 2024 3: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?
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 89 guests