Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
a22bc812
Commit
a22bc812
authored
10 years ago
by
Feng Xiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #186 from ennerf/win32-msvc-fix
MSVC protoc compiler fix
parents
17e44191
e544b388
master
v3.11.4
v3.11.3
v3.11.2
v3.11.1
v3.11.0
v3.11.0-rc2
v3.11.0-rc1
v3.10.1
v3.10.0
v3.10.0-rc1
v3.9.2
v3.9.1
v3.9.0
v3.9.0-rc1
v3.8.0
v3.8.0-rc1
v3.7.1
v3.7.0
v3.7.0rc2
v3.7.0rc1
v3.7.0-rc.3
v3.7.0-rc.2
v3.6.1.3
v3.6.1.2
v3.6.1.1
v3.6.1
v3.6.0.1
v3.6.0
v3.6.0rc2
v3.6.0rc1
v3.5.2
v3.5.1.1
v3.5.1
v3.5.0.1
v3.5.0
v3.4.1
v3.4.0
v3.4.0rc3
v3.4.0rc2
v3.4.0rc1
v3.3.2
v3.3.1
v3.3.0
v3.3.0rc1
v3.2.1
v3.2.0
v3.2.0rc2
v3.2.0-rc.1
v3.2.0-alpha-1
v3.1.0
v3.1.0-alpha-1
v3.0.2
v3.0.1-javalite
v3.0.0
v3.0.0-javalite
v3.0.0-beta-4
v3.0.0-beta-3.3
v3.0.0-beta-3.2
v3.0.0-beta-3.1
v3.0.0-beta-3
v3.0.0-beta-3-pre-1
v3.0.0-beta-2
v3.0.0-beta-1.1
v3.0.0-beta-1
v3.0.0-beta-1-bzl-fix
v3.0.0-alpha-4.1
v3.0.0-alpha-4
v3.0.0-alpha-3.1
v3.0.0-alpha-3
v3.0.0-alpha-2
conformance-build-tag
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
ruby_generator.cc
src/google/protobuf/compiler/ruby/ruby_generator.cc
+2
-2
libprotoc.vcproj
vsprojects/libprotoc.vcproj
+8
-0
No files found.
src/google/protobuf/compiler/ruby/ruby_generator.cc
View file @
a22bc812
...
...
@@ -47,7 +47,7 @@ namespace compiler {
namespace
ruby
{
// Forward decls.
std
::
string
IntToString
(
uint32
_t
value
);
std
::
string
IntToString
(
uint32
value
);
std
::
string
StripDotProto
(
const
std
::
string
&
proto_file
);
std
::
string
LabelForField
(
google
::
protobuf
::
FieldDescriptor
*
field
);
std
::
string
TypeName
(
google
::
protobuf
::
FieldDescriptor
*
field
);
...
...
@@ -64,7 +64,7 @@ void GenerateEnumAssignment(
const
google
::
protobuf
::
EnumDescriptor
*
en
,
google
::
protobuf
::
io
::
Printer
*
printer
);
std
::
string
IntToString
(
uint32
_t
value
)
{
std
::
string
IntToString
(
uint32
value
)
{
std
::
ostringstream
os
;
os
<<
value
;
return
os
.
str
();
...
...
This diff is collapsed.
Click to expand it.
vsprojects/libprotoc.vcproj
View file @
a22bc812
...
...
@@ -223,6 +223,10 @@
RelativePath=
"..\src\google\protobuf\compiler\cpp\cpp_string_field.h"
>
</File>
<File
RelativePath=
"..\src\google\protobuf\compiler\ruby\ruby_generator.h"
>
</File>
<File
RelativePath=
"..\src\google\protobuf\compiler\java\java_context.h"
>
...
...
@@ -375,6 +379,10 @@
RelativePath=
"..\src\google\protobuf\compiler\cpp\cpp_string_field.cc"
>
</File>
<File
RelativePath=
"..\src\google\protobuf\compiler\ruby\ruby_generator.cc"
>
</File>
<File
RelativePath=
"..\src\google\protobuf\compiler\java\java_context.cc"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment