Set release branch version to 0.10.2-rc1.
diff --git a/c++/CMakeLists.txt b/c++/CMakeLists.txt
index 837bee9..c8b2951 100644
--- a/c++/CMakeLists.txt
+++ b/c++/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.6)
project("Cap'n Proto" CXX)
-set(VERSION 0.10.1)
+set(VERSION 0.10.2-rc1)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
diff --git a/c++/configure.ac b/c++/configure.ac
index a771f57..5f49427 100644
--- a/c++/configure.ac
+++ b/c++/configure.ac
@@ -1,6 +1,6 @@
## Process this file with autoconf to produce configure.
-AC_INIT([Capn Proto],[0.10.1],[[email protected]],[capnproto-c++])
+AC_INIT([Capn Proto],[0.10.2-rc1],[[email protected]],[capnproto-c++])
AC_CONFIG_SRCDIR([src/capnp/layout.c++])
AC_CONFIG_AUX_DIR([build-aux])
diff --git a/c++/src/capnp/c++.capnp.h b/c++/src/capnp/c++.capnp.h
index 4422bdb..e182660 100644
--- a/c++/src/capnp/c++.capnp.h
+++ b/c++/src/capnp/c++.capnp.h
@@ -6,7 +6,7 @@
#include <capnp/generated-header-support.h>
#include <kj/windows-sanity.h>
-#if CAPNP_VERSION != 10001
+#if CAPNP_VERSION != 10002
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif
diff --git a/c++/src/capnp/common.h b/c++/src/capnp/common.h
index 09ffdc8..7aff41e 100644
--- a/c++/src/capnp/common.h
+++ b/c++/src/capnp/common.h
@@ -48,7 +48,7 @@
#define CAPNP_VERSION_MAJOR 0
#define CAPNP_VERSION_MINOR 10
-#define CAPNP_VERSION_MICRO 1
+#define CAPNP_VERSION_MICRO 2
#define CAPNP_VERSION \
(CAPNP_VERSION_MAJOR * 1000000 + CAPNP_VERSION_MINOR * 1000 + CAPNP_VERSION_MICRO)
diff --git a/c++/src/capnp/compat/json.capnp.h b/c++/src/capnp/compat/json.capnp.h
index be5484f..e01c537 100644
--- a/c++/src/capnp/compat/json.capnp.h
+++ b/c++/src/capnp/compat/json.capnp.h
@@ -9,7 +9,7 @@
#include <capnp/capability.h>
#endif // !CAPNP_LITE
-#if CAPNP_VERSION != 10001
+#if CAPNP_VERSION != 10002
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif
diff --git a/c++/src/capnp/compiler/grammar.capnp.h b/c++/src/capnp/compiler/grammar.capnp.h
index 729ef69..7962450 100644
--- a/c++/src/capnp/compiler/grammar.capnp.h
+++ b/c++/src/capnp/compiler/grammar.capnp.h
@@ -6,7 +6,7 @@
#include <capnp/generated-header-support.h>
#include <kj/windows-sanity.h>
-#if CAPNP_VERSION != 10001
+#if CAPNP_VERSION != 10002
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif
diff --git a/c++/src/capnp/compiler/lexer.capnp.h b/c++/src/capnp/compiler/lexer.capnp.h
index c7f6c65..b57be53 100644
--- a/c++/src/capnp/compiler/lexer.capnp.h
+++ b/c++/src/capnp/compiler/lexer.capnp.h
@@ -6,7 +6,7 @@
#include <capnp/generated-header-support.h>
#include <kj/windows-sanity.h>
-#if CAPNP_VERSION != 10001
+#if CAPNP_VERSION != 10002
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif
diff --git a/c++/src/capnp/persistent.capnp.h b/c++/src/capnp/persistent.capnp.h
index a37329f..164919f 100644
--- a/c++/src/capnp/persistent.capnp.h
+++ b/c++/src/capnp/persistent.capnp.h
@@ -9,7 +9,7 @@
#include <capnp/capability.h>
#endif // !CAPNP_LITE
-#if CAPNP_VERSION != 10001
+#if CAPNP_VERSION != 10002
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif
diff --git a/c++/src/capnp/rpc-twoparty.capnp.h b/c++/src/capnp/rpc-twoparty.capnp.h
index 1e7d651..7311d9d 100644
--- a/c++/src/capnp/rpc-twoparty.capnp.h
+++ b/c++/src/capnp/rpc-twoparty.capnp.h
@@ -6,7 +6,7 @@
#include <capnp/generated-header-support.h>
#include <kj/windows-sanity.h>
-#if CAPNP_VERSION != 10001
+#if CAPNP_VERSION != 10002
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif
diff --git a/c++/src/capnp/rpc.capnp.h b/c++/src/capnp/rpc.capnp.h
index abdaaa8..c2dbc6d 100644
--- a/c++/src/capnp/rpc.capnp.h
+++ b/c++/src/capnp/rpc.capnp.h
@@ -6,7 +6,7 @@
#include <capnp/generated-header-support.h>
#include <kj/windows-sanity.h>
-#if CAPNP_VERSION != 10001
+#if CAPNP_VERSION != 10002
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif
diff --git a/c++/src/capnp/schema.capnp.h b/c++/src/capnp/schema.capnp.h
index ab27aaf..86d28e8 100644
--- a/c++/src/capnp/schema.capnp.h
+++ b/c++/src/capnp/schema.capnp.h
@@ -6,7 +6,7 @@
#include <capnp/generated-header-support.h>
#include <kj/windows-sanity.h>
-#if CAPNP_VERSION != 10001
+#if CAPNP_VERSION != 10002
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif
diff --git a/c++/src/capnp/stream.capnp.h b/c++/src/capnp/stream.capnp.h
index eb656c2..37b6198 100644
--- a/c++/src/capnp/stream.capnp.h
+++ b/c++/src/capnp/stream.capnp.h
@@ -6,7 +6,7 @@
#include <capnp/generated-header-support.h>
#include <kj/windows-sanity.h>
-#if CAPNP_VERSION != 10001
+#if CAPNP_VERSION != 10002
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif