Thanks
Burno
On Mon, 10 Jan 2011, Bruno Luciani wrote:
> Testing this sample I found this error
> You are using a non graphics capable gt:
> TRM
> I know that I need to compile using some graphic term but not work again
> hbmk2 gfx -gtxwc
> I get this error now
> Copyright (c) 1999-2011, http://harbour-project.org/
> Compiling 'gfx.prg'...
> gfx.prg(94) Warning W0032 Variable 'NSCREENWIDTH' is assigned but not used
> in function 'MAIN(29)'
You compiled gfx.prg in harbour/tests directory so harbour/tests/hbmk.hbm
was automatically included and enabled -w3 switch which caused above
warning. You can ignore it and execute generated gfx executable file.
> If I put this line , indicating to use gtxwc to prg
> REQUEST HB_GT_XWC_DEFAULT
> The sample works ok , compiling only using hbmk2 gfx
The sample was working also before with -gtxwc specified as hbmk2 parameter
and above modification doesn't change anything. Just simply you probably
copied gfx.prg to other directory without hbmk.hbm having -w3 switch so
warning was not shown during compilation.
Anyhow thanks for the info. I'll remove unused code from gfx.prg to pacify
above warning.
best regards,
Przemek
No I just modify original prg in /test folder , adding this lineand compile using hbmk2 gfx
REQUEST HB_GT_XWC_DEFAULT
and works ok
Sorry about that , I think that I am helping to improve harbour and his samples prg
ignore my email if you think is all ok
and I don' t think anything , I just share my experiencies
Sorry about that , I think that I am helping to improve harbour and his samples prg
Viktor , could you calm a litle bit ?
You think that I am trying to sabotage harbour ? spreading wrong information ?
Whats is /tests folder intended to be ?
I think it is a way to tests diferent harbour functions and libraries
If not exist a warning about I think that the way to try a sample is compiling it using
hbmk2.
When a software need some directives harbour developers put it in a folder and add an .hbp or similar file
When I try a .prg file in /test folder I think that it must compile using simple comand , not that I need
an nuclear investigation to test it .
How can I learn harbour if i can not test it ?
If I say something with nonsense just point to it or ignore my email
1. It was working before.
2. It's impossible to pacify that warning by adding above line so
you have to make sth else
> If you considere that is not necesary to modifiy anything
> it is ok for me
This is unimpportant for me. The only one problem is sending
false information here which creates problems in the future
when other people read such messages and then we have some
incredible theory about Harbour behavior and examples which
of course cannot work.
best regards,
Przemek