plow icon indicating copy to clipboard operation
plow copied to clipboard

generate_sources duplicate typename warning

Open chadmv opened this issue 10 years ago • 1 comments

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]

chadmv avatar May 14 '14 20:05 chadmv

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/chadmv/plow/issues/5 .

justinfx avatar May 15 '14 01:05 justinfx