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
a001ed0c
Commit
a001ed0c
authored
Dec 01, 2008
by
kenton@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Update version compatibility stuff -- 2.0.3 is in no way compatible with
2.0.2. * Minor Tru64 fix.
parent
9f175288
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
11 deletions
+12
-11
configure.ac
configure.ac
+1
-0
Makefile.am
src/Makefile.am
+2
-2
descriptor.pb.h
src/google/protobuf/descriptor.pb.h
+1
-1
common.h
src/google/protobuf/stubs/common.h
+4
-4
gtest-port.h
src/gtest/internal/gtest-port.h
+4
-4
No files found.
configure.ac
View file @
a001ed0c
...
...
@@ -7,6 +7,7 @@ AC_PREREQ(2.59)
# * java/pom.xml
# * python/setup.py
# * src/google/protobuf/stubs/common.h
# * src/Makefile.am (Update -version-info for LDFLAGS if needed)
AC_INIT([protobuf],[2.0.3-SNAPSHOT],[protobuf@googlegroups.com])
AC_CONFIG_SRCDIR(src/google/protobuf/message.cc)
...
...
src/Makefile.am
View file @
a001ed0c
...
...
@@ -55,7 +55,7 @@ nobase_include_HEADERS = \
lib_LTLIBRARIES
=
libprotobuf.la libprotoc.la
libprotobuf_la_LIBADD
=
$(PTHREAD_LIBS)
libprotobuf_la_LDFLAGS
=
-version-info
2
:0:0
libprotobuf_la_LDFLAGS
=
-version-info
3
:0:0
libprotobuf_la_SOURCES
=
\
google/protobuf/stubs/common.cc
\
google/protobuf/stubs/hash.cc
\
...
...
@@ -91,7 +91,7 @@ libprotobuf_la_SOURCES = \
google/protobuf/compiler/parser.cc
libprotoc_la_LIBADD
=
$(PTHREAD_LIBS)
libprotobuf.la
libprotoc_la_LDFLAGS
=
-version-info
0
:0:0
libprotoc_la_LDFLAGS
=
-version-info
3
:0:0
libprotoc_la_SOURCES
=
\
google/protobuf/compiler/code_generator.cc
\
google/protobuf/compiler/command_line_interface.cc
\
...
...
src/google/protobuf/descriptor.pb.h
View file @
a001ed0c
...
...
@@ -7,7 +7,7 @@
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 200000
2
#if GOOGLE_PROTOBUF_VERSION < 200000
3
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
...
...
src/google/protobuf/stubs/common.h
View file @
a001ed0c
...
...
@@ -87,20 +87,20 @@ namespace internal {
// The minimum library version which works with the current version of the
// headers.
#define GOOGLE_PROTOBUF_MIN_LIBRARY_VERSION 200000
2
#define GOOGLE_PROTOBUF_MIN_LIBRARY_VERSION 200000
3
// The minimum header version which works with the current version of
// the library. This constant should only be used by protoc's C++ code
// generator.
static
const
int
kMinHeaderVersionForLibrary
=
200000
2
;
static
const
int
kMinHeaderVersionForLibrary
=
200000
3
;
// The minimum protoc version which works with the current version of the
// headers.
#define GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 200000
2
#define GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 200000
3
// The minimum header version which works with the current version of
// protoc. This constant should only be used in VerifyVersion().
static
const
int
kMinHeaderVersionForProtoc
=
200000
2
;
static
const
int
kMinHeaderVersionForProtoc
=
200000
3
;
// Verifies that the headers and libraries are compatible. Use the macro
// below to call this.
...
...
src/gtest/internal/gtest-port.h
View file @
a001ed0c
...
...
@@ -438,11 +438,11 @@ inline size_t GetThreadCount() { return 1; }
// Defines tr1::is_pointer (only needed for Symbian).
#if
def __SYMBIAN32__
#if
defined(__SYMBIAN32__) || (defined (__DECCXX) && defined(__osf__))
// Symbian
does not have tr1::type_traits, so we define our own is_pointer
//
These are needed as the Nokia Symbian Compiler cannot decide between
// const T& and const T* in a function template.
// Symbian
and HP C++ on Tru64 do not have tr1::type_traits, so we define
//
our own is_pointer. These are needed as these compilers cannot decide
//
between
const T& and const T* in a function template.
template
<
bool
bool_value
>
struct
bool_constant
{
...
...
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