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
dd449e1c
Commit
dd449e1c
authored
Nov 25, 2014
by
Łukasz Twarduś
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "anonymous types declared in an anonymous union are an extension"
warning when using clang with -pedantic switch
parent
99aa0f9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
unknown_field_set.h
src/google/protobuf/unknown_field_set.h
+6
-3
No files found.
src/google/protobuf/unknown_field_set.h
View file @
dd449e1c
...
@@ -224,13 +224,16 @@ class LIBPROTOBUF_EXPORT UnknownField {
...
@@ -224,13 +224,16 @@ class LIBPROTOBUF_EXPORT UnknownField {
uint32
number_
;
uint32
number_
;
uint32
type_
;
uint32
type_
;
union
LengthDelimited
{
string
*
string_value_
;
};
union
{
union
{
uint64
varint_
;
uint64
varint_
;
uint32
fixed32_
;
uint32
fixed32_
;
uint64
fixed64_
;
uint64
fixed64_
;
mutable
union
{
mutable
union
LengthDelimited
length_delimited_
;
string
*
string_value_
;
}
length_delimited_
;
UnknownFieldSet
*
group_
;
UnknownFieldSet
*
group_
;
};
};
};
};
...
...
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