1. 26 Aug, 2015 4 commits
    • Hans Wennborg's avatar
      Fix the no-op definitions of GOOGLE_PREDICT_{TRUE,FALSE} · fcf1b575
      Hans Wennborg authored
      Updating to the current protobuf version caused the following build errors in
      Chromium when using Clang on Windows:
      
      ..\..\third_party\protobuf\src\google/protobuf/stubs/fastmem.h(67,43) :  error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
        if (GOOGLE_PREDICT_FALSE(n_rounded_down == 0)) {  // n <= 7
                                 ~~~~~~~~~~~~~~~^~~~
      
      The problem is that on Windows, GOOGLE_PREDICT_FALSE is #defined to nothing, so
      the code expands to 'if ((n_rounded_down == 0))', which Clang warns about.
      
      Clang would not have warned if the extra parentheses came from the macro,
      but in this case they don't because the macro is just dropped.
      
      Fix this by making the macros behave as an identity function instead of just
      getting dropped.
      
      This is closer to what these macros look like in stubs/port.h internally.
      fcf1b575
    • Jon Skeet's avatar
      Merge pull request #739 from jtattermusch/include_descriptor_proto_master · f6b05f78
      Jon Skeet authored
      include descriptor.proto in nuget package 
      f6b05f78
    • Jan Tattermusch's avatar
      72145dff
    • Feng Xiao's avatar
      Merge pull request #726 from DouglasHeriot/msvc-noinline · cf94f7b7
      Feng Xiao authored
      Define GOOGLE_ATTRIBUTE_NOINLINE for MSVC. Workaround for VS2015 Release build compiler bug
      cf94f7b7
  2. 25 Aug, 2015 3 commits
  3. 22 Aug, 2015 6 commits
  4. 21 Aug, 2015 5 commits
  5. 20 Aug, 2015 8 commits
  6. 18 Aug, 2015 1 commit
  7. 16 Aug, 2015 1 commit
  8. 15 Aug, 2015 5 commits
  9. 14 Aug, 2015 7 commits