1. 20 May, 2015 1 commit
    • Austin Schuh's avatar
      Marked compiler literal unsigned. · e826837f
      Austin Schuh authored
      When compiling a protobuf with gcc 3.3.2 for powerpc, I ran into the
      following warning message:
      
      INFO: From Compiling my_proto.pb.cc powerpc-603e-linux-gcc:
      bazel-out/local_linux-dbg/genfiles/my_proto.pb.cc: In member
         function `virtual void MyProto::Clear()':
         bazel-out/local_linux-dbg/genfiles/my_proto.pb.cc:223: warning: this
            decimal constant is unsigned only in ISO C90
      
      The line in the proto file that was triggering it was:
      
        if (_has_bits_[24 / 32] & 4278190080) {
          ZR_(field1_, field2_);
        }
      
      _has_bits_ is a uint32.  The constant mask should therefore be
      unsigned.  This change updates the constant to be generated as
      unsigned.
      e826837f
  2. 19 May, 2015 3 commits
  3. 18 May, 2015 3 commits
  4. 16 May, 2015 1 commit
    • Jon Skeet's avatar
      Generate *all* protos in the script, applying fixups. · b1a395ce
      Jon Skeet authored
      We still have some protos which aren't generated how we want them to be:
      
      - Until we have an option to specify the "umbrella" class, DescriptorProtoFile
        will be broken. (The change of name here affects the reflection descriptor,
        which accounts for most of the change. That's easier than trying to work out
        exactly which occurrences of Descriptor need changing though.)
      - That change affects UnittestCustomOptions
      - Issue #307 breaks Unittest.cs
      
      After this commit, we don't have the record of the fixups in the files themselves
      any more, but one centralized record in the shell script.
      b1a395ce
  5. 15 May, 2015 8 commits
  6. 14 May, 2015 6 commits
  7. 13 May, 2015 18 commits