Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate_sources duplicate typename warning #5

Open
chadmv opened this issue May 14, 2014 · 1 comment
Open

generate_sources duplicate typename warning #5

chadmv opened this issue May 14, 2014 · 1 comment

Comments

@chadmv
Copy link
Owner

chadmv commented May 14, 2014

Just need to rename Attrs

[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
@justinfx
Copy link
Contributor

You apparently have the state of commits where it the common types were
defined both in the common thrift file and in the plow thrift file. You
just need to remove the definitions from the plow thrift file and only
reference the common.Attrs

On Thu, May 15, 2014 at 8:09 AM, Chad Vernon [email protected]:

Just need to rename Attrs

[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,cpp,Plow and common,cpp,Plow [file,scope,ns]
[WARNING:/Users/cvernon/dev/plow/lib/thrift/plow.thrift:15] Duplicate typename Attrs found in plow,java,com.breakersoft.plow.thrift and common,java,com.breakersoft.plow.thrift [file,scope,ns]


Reply to this email directly or view it on GitHubhttps://github.com//issues/5
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants