Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 446 by [email protected]: Fix unused parameter warnings
http://code.google.com/p/protobuf/issues/detail?id=446
What steps will reproduce the problem?
1. Build generated code with -Werror,-Wunused-parameter
What is the expected output? What do you see instead?
In file included from monitor/head/protobuf/Stream.pb.h:23:
protobuf/head/target/include/google/protobuf/repeated_field.h:1197:54:
error: unused parameter
'ignores_parameter' [-Werror,-Wunused-parameter]
RepeatedFieldBackInsertIterator<T>& operator++(int ignores_parameter) {
^
protobuf/head/target/include/google/protobuf/repeated_field.h:1228:57:
error: unused parameter
'ignores_parameter' [-Werror,-Wunused-parameter]
RepeatedPtrFieldBackInsertIterator<T>& operator++(int ignores_parameter) {
^
protobuf/head/target/include/google/protobuf/repeated_field.h:1257:11:
error: unused parameter
'ignores_parameter' [-Werror,-Wunused-parameter]
int ignores_parameter) {
^
What version of the product are you using? On what operating system?
protobuf-2.4.1
Mac OS X 10.8.2
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Please provide any additional information below.
Proposed patch attached.
Attachments:
unused_parameter.patch- 0 bytes
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.