Comments (3)
i already fixed this in 0.3. For example:
%grep quantifier_offset protobuf-c-0.4/src/google/protobuf/compiler/c/*
protobuf-c-0.4/src/google/protobuf/compiler/c/c_field.cc:
printer->Print(variables, " 0, /* quantifier_offset */\n");
protobuf-c-0.4/src/google/protobuf/compiler/c/c_field.cc:
printer->Print(variables, " 0, /* quantifier_offset */\n");
Also:
% svn log -r55
r55 | lahiker42 | 2008-08-27 23:08:40 -0700 (Wed, 27 Aug 2008) | 3 lines
- suppress final enum comma
- do not use c++ comments
------------------------------------------------------------------------
% svn diff -r54:55 src/google/protobuf/compiler/c/c_field.cc
Index: src/google/protobuf/compiler/c/c_field.cc
===================================================================
--- src/google/protobuf/compiler/c/c_field.cc (revision 54)
+++ src/google/protobuf/compiler/c/c_field.cc (revision 55)
@@ -61,13 +61,13 @@
" PROTOBUF_C_TYPE_$TYPE$,\n");
switch (descriptor_->label()) {
case FieldDescriptor::LABEL_REQUIRED:
- printer->Print(variables, " 0, // quantifier_offset\n");
+ printer->Print(variables, " 0, /* quantifier_offset */\n");
break;
case FieldDescriptor::LABEL_OPTIONAL:
if (optional_uses_has) {
printer->Print(variables, " PROTOBUF_C_OFFSETOF($classname$, has_$name$
),\n");
} else {
- printer->Print(variables, " 0, // quantifier_offset\n");
+ printer->Print(variables, " 0, /* quantifier_offset */\n");
}
break;
I think you need to regenerate your files. (You should add a Makefile
dependency on
protoc-c so that if protoc-c changes you will rebuild it...)
Original comment by [email protected]
on 9 Sep 2008 at 11:57
from protobuf-c.
Please reopen this bug if it continues to be a problem.
Original comment by [email protected]
on 12 Sep 2008 at 1:52
from protobuf-c.
Original comment by [email protected]
on 12 Sep 2008 at 1:52
- Changed state: Invalid
from protobuf-c.
Related Issues (20)
- protobuf-c requires AF_LOCAL
- protobuf-c does not compile on Solaris 10, as bind/connect/etc. are in libsocket
- Does not compile on Solaris 10, hstrerror in libresolv
- Don't include names to save space [patch]
- The last version cann't support string now? HOT 2
- VS 2008 compilation issue 0.15 HOT 1
- AF_LOCAL does not exists on Solaris, AIX and HPUX HOT 1
- Choose a build system, and get rid of the unchosen one
- compilation error HOT 3
- autoreconf 2.68 warnings
- optional missing in sub-message HOT 1
- unpack don't merge sub-messages
- giving static ip address to protobuf-c rpc server
- protobuf-c does not compile on 64bit Solaris 11
- structure with 64-bit field is decoded wrong
- ByteSize() doesn't return right value
- protobuf-c build with vc6
- free(): invalid next size (fast) at google/protobuf-c/protobuf-c.c:127
- C++: add a sub-element to a repeated element
- Reopening issue #38.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protobuf-c.