On 01.06.2006, at 07:45, Filip Konvička wrote:
If you call ozc with the --warnshadow argument (or click the 'All
redeclaration' box in the compiler panel) then the compiler will emit
warning messages for variable declarations that shadow existing
variables. It isn't on by default because it is pretty noisy on the files I tried
(Mozart compiler and test suite).  However, I think it is very useful
and I encourage you to try it out.

Cool! What about enabling it by default in the OPI?

I figure you may just add a compiler switch to your .ozrc..

Best,
Torsten

--
Torsten Anders
Sonic Arts Research Centre • Queen's University Belfast
Frankstr. 49 • D-50996 Köln
Tel: +49-221-3980750
www.torsten-anders.de
strasheela.sourceforge.net


_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to