You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mat Mankins (JIRA)" <ji...@apache.org> on 2008/10/02 21:49:44 UTC
[jira] Commented: (THRIFT-86) Compiler doesn't recognize some
command-line args in #! line
[ https://issues.apache.org/jira/browse/THRIFT-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636443#action_12636443 ]
Mat Mankins commented on THRIFT-86:
-----------------------------------
I'm having the same issue on Fedora Core 8. Let me know if there's any output that would be useful. I'm able to do it on the command line just fine.
> Compiler doesn't recognize some command-line args in #! line
> ------------------------------------------------------------
>
> Key: THRIFT-86
> URL: https://issues.apache.org/jira/browse/THRIFT-86
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (General)
> Reporter: Stuart Sierra
> Priority: Minor
>
> Running the tutorial (or any .thrift file) as a shell script gives an error when the #! (shebang) line contains the --gen option:
> $ ./tutorial.thrift
> !!! Unrecognized option: cpp
> The same options work when typed directly at the command line:
> $ thrift --gen cpp --gen java --gen py --php --gen rb --gen perl --erl --xsd -r tutorial.thrift
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.