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
Feb 03, 2015
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
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
();
...
...
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"
>
...
...
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