aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/metadata.h
Commit message (Collapse)AuthorAgeFilesLines
* Down-integrate proto2 namespace fix.Feng Xiao2018-08-131-1/+1
|
* Down-integrate from google3.Feng Xiao2018-08-081-2/+6
|
* Down-integrate from google3.Feng Xiao2017-03-291-152/+1
|
* fix compile error on centos in metadata.h for constructors. (#2599)michaelpengcn2017-01-271-2/+4
|
* Integrated internal changes from GoogleAdam Cozzette2016-11-171-20/+88
|
* Integrate internal changesBo Yang2016-10-101-4/+0
|
* Integrate google internal changes.Jisi Liu2016-03-301-1/+1
|
* Merge pull request #769 from pkasting/metadataFeng Xiao2015-09-101-1/+1
|\ | | | | Fix compile failures building protobuf DLLs on MSVC in Chromium's cod…
| * Change to just not marking the class for exportPeter Kasting2015-08-271-2/+3
| |
| * Fix compile failures building protobuf DLLs on MSVC in Chromium's codebase.Peter Kasting2015-08-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Define GOOGLE_ATTRIBUTE_NOINLINE for MSVC. Workaround for VS2015 Release ↵Douglas Heriot2015-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | build compiler bug. See issue #240 - MSVC in VS2015 seems to inline a function it shouldn't. My original workaround was to disable inlining for the whole file, but I found a way to do it on just this specific function using __declspec(noinline). Unfortunately __declspec has to go at the start of the function declaration, while __attribute in GCC can go either before or after. I had to move lots of GOOGLE_ATTRIBUTE_NOLINE to make it compile. I have not yet tested this change with GCC. Will there be other side effects of defining this, given it wasn't previously? I also noticed a few functions marked with both the 'inline' keyword, and GOOGLE_ATTRIBUTE_NOINLINE - huh? Is there an explanation for this, or is it an oversight?
* | Down-integrate from google3.Feng Xiao2015-08-221-9/+8
|/
* Down-integrate from internal code base.Feng Xiao2014-11-101-0/+164