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
8d61f9c3
Commit
8d61f9c3
authored
Feb 27, 2017
by
Adam Cozzette
Committed by
GitHub
Feb 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2729 from MarcelRaad/fix_inline_msvc12
Fix unresolved symbols with MSVC12 and /Zc:inline
parents
b4b0e304
8f9c0a44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
message.cc
src/google/protobuf/message.cc
+6
-6
No files found.
src/google/protobuf/message.cc
View file @
8d61f9c3
...
...
@@ -451,8 +451,8 @@ struct ShutdownRepeatedFieldRegister {
namespace
internal
{
template
<>
#if defined(_MSC_VER) && (_MSC_VER >= 1
9
00)
// Note: force noinline to workaround MSVC
2015 compiler bug
, issue #240
#if defined(_MSC_VER) && (_MSC_VER >= 1
8
00)
// Note: force noinline to workaround MSVC
compiler bug with /Zc:inline
, issue #240
GOOGLE_ATTRIBUTE_NOINLINE
#endif
Message
*
GenericTypeHandler
<
Message
>::
NewFromPrototype
(
...
...
@@ -460,8 +460,8 @@ Message* GenericTypeHandler<Message>::NewFromPrototype(
return
prototype
->
New
(
arena
);
}
template
<>
#if defined(_MSC_VER) && (_MSC_VER >= 1
9
00)
// Note: force noinline to workaround MSVC
2015 compiler bug
, issue #240
#if defined(_MSC_VER) && (_MSC_VER >= 1
8
00)
// Note: force noinline to workaround MSVC
compiler bug with /Zc:inline
, issue #240
GOOGLE_ATTRIBUTE_NOINLINE
#endif
google
::
protobuf
::
Arena
*
GenericTypeHandler
<
Message
>::
GetArena
(
...
...
@@ -469,8 +469,8 @@ google::protobuf::Arena* GenericTypeHandler<Message>::GetArena(
return
value
->
GetArena
();
}
template
<>
#if defined(_MSC_VER) && (_MSC_VER >= 1
9
00)
// Note: force noinline to workaround MSVC
2015 compiler bug
, issue #240
#if defined(_MSC_VER) && (_MSC_VER >= 1
8
00)
// Note: force noinline to workaround MSVC
compiler bug with /Zc:inline
, issue #240
GOOGLE_ATTRIBUTE_NOINLINE
#endif
void
*
GenericTypeHandler
<
Message
>::
GetMaybeArenaPointer
(
...
...
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