Computer Science Canada Is there any ignore warnings option? |
Author: | TheOneTrueGod [ Mon May 22, 2006 9:18 pm ] |
Post subject: | Is there any ignore warnings option? |
The title says it all... Is there any way I can tell turing "I don't care about your 'warnings'"? |
Author: | [Gandalf] [ Mon May 22, 2006 9:50 pm ] |
Post subject: | |
I highly doubt it. What I must ask though is, why? Warnings, even in Turing, are generated for a purpose, whether it be minor or less minor, and should generally be heeded. |
Author: | TheOneTrueGod [ Mon May 22, 2006 9:59 pm ] |
Post subject: | |
Yah, but I know in languages like C++, the warnings don't hinder you from finding errors, but in Turing they do... and in my current program, there were gonna be quite a few warnings. Oh well, I guess i'll find a longer way around it. Thanks |
Author: | Delos [ Tue May 23, 2006 11:19 am ] |
Post subject: | |
Which warning are you getting? Oftentimes, warnings only display once, then you can run your proggie normally until you reset the compiler. |
Author: | TheOneTrueGod [ Tue May 23, 2006 2:23 pm ] |
Post subject: | |
You can ignore the warnings until you insert another character into the turing compiler So I can ignore them, as long as I don't plan on changing my code The error is the one about "new"ing a class within a module. I'm thinking that the best thing to do is just have a huge block of imports... no warnings, no fuss, but looks ugly |
Author: | Cervantes [ Tue May 23, 2006 3:17 pm ] |
Post subject: | |
It's such a shame that Turing whines about these things that are perfectly acceptable. Modules should definately be able to hold classes. Aside from being an effective way to categorize a bunch of classes, it serves to reduce namespace pollution. |