[ 
https://issues.apache.org/jira/browse/THRIFT-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584717#comment-14584717
 ] 

Randy Abernethy commented on THRIFT-1383:
-----------------------------------------

Any thoughts on solving this? 

Seems like just having the compiler reject input files with spaces might be 
easiest and most direct. The compiler could remove or convert spaces 
automatically but that seems underhanded. I would rather the compiler be 
upfront about its requirement, allowing the user to choose the appropriate 
solution.

My 2 cents

> Spaces in thrift input file lead to incorrectly generated code
> --------------------------------------------------------------
>
>                 Key: THRIFT-1383
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1383
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>            Reporter: Jens Geyer
>
> Spaces in file names produce identifiers (e.g. namespaces) with spaces, which 
> is illegal. I checked that only for the C++ generator, but there are probably 
> other generators affected as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to