aboutsummaryrefslogtreecommitdiff
path: root/generate_descriptor_proto.sh
diff options
context:
space:
mode:
authorPeter Kasting <pkasting@google.com>2015-08-27 14:30:28 -0700
committerPeter Kasting <pkasting@google.com>2015-08-27 14:30:28 -0700
commit6e54999773a4b2c655dedc58f7ccfa69ab5beff4 (patch)
treef34a51aff7a5d55e972e5527630353dfaef2113f /generate_descriptor_proto.sh
parentc7a1f8ec3b7ab4f6763e4d5c2663ad39e13a6aa0 (diff)
downloadprotobuf-6e54999773a4b2c655dedc58f7ccfa69ab5beff4.tar.gz
protobuf-6e54999773a4b2c655dedc58f7ccfa69ab5beff4.tar.bz2
protobuf-6e54999773a4b2c655dedc58f7ccfa69ab5beff4.zip
Fix compile failures building protobuf DLLs on MSVC in Chromium's codebase.
When trying to compile the protobuf code as a DLL, and then compile other DLLs with generated .pb.cc/h files that reference InternalMetadataWithArena::InternalMetadataWithArena(Arena*), MSVC gives an "unresolved external symbol" error. This seems to be due to the function being simultaneously exported and inline. Moving it out-of-line fixes things. There are other functions exported and inline as well but de-inlining them doesn't seem to be necessary to get the build working, and I'd rather de-inline as few functions as possible.
Diffstat (limited to 'generate_descriptor_proto.sh')
0 files changed, 0 insertions, 0 deletions