From: Hubert Y. <yos...@da...> - 2001-10-17 16:35:08
|
Hi Robert, >jythonc issues this message. -deprecation is not a jythonc option, it is >instead a javac option. Jythonc rightly gives up when it encounters >unknown switches. Thought as much, thanks for confirming :) >> And if this is java, then how can you turn on the option when using jythonc? > >jythonc allows specifying compiler options with the -J switch. In other >words, you just add a -J before any java compiler options. Try: > > jythonc -J -deprecation tryJythonSample.py Works like a charm. Whoops, should have read the jythonc help more closely since it's right there. thanks, Hubert |