Viktor,

one thing I'd like to have is the ability of the compiler to spot iVars like
it does variables, I mean unused, not declared and so on, while it now simply
ignores all of them and you get an error when executing such code.

Best regards.

Maurilio.

Viktor Szakáts wrote:
>>> lot of success.  One thing that will make our lives easier in 100,000
>>> lines
>>> of Clipper code is some sort of switch in Harbour / hbmk2 that will warn
>>> you
>>> if you are using a variable that wasn't declared by LOCAL, PRIV, MEMVAR,
>>> etc
>>> etc...  in a function.
>>>
>> If tou want to detect such occurances: -w3 -es3
> 
> You probably meant: -es2
> (there is no -es3 option in Harbour (nor Clipper))
> 
>> If you want to detect and ignore: -w0 -es2
> 
> Rather simply: -w3, -w2, or -w1
> 
> extra -es2 means: threat warnings as errors.
> 
> Brgds,
> Viktor
> 
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to