Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
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
capnproto
Commits
912a14cf
Commit
912a14cf
authored
Apr 02, 2016
by
Liam Staskawicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
headers: check whether CAPNP_HEADER_WARNINGS is defined
fixes #304
parent
fd8ed198
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
35 additions
and
35 deletions
+35
-35
capnproto-common.h
c++/src/benchmark/capnproto-common.h
+1
-1
common.h
c++/src/benchmark/common.h
+1
-1
any.h
c++/src/capnp/any.h
+1
-1
arena.h
c++/src/capnp/arena.h
+1
-1
blob.h
c++/src/capnp/blob.h
+1
-1
capability.h
c++/src/capnp/capability.h
+1
-1
common.h
c++/src/capnp/common.h
+1
-1
compiler.h
c++/src/capnp/compiler/compiler.h
+1
-1
error-reporter.h
c++/src/capnp/compiler/error-reporter.h
+1
-1
lexer.h
c++/src/capnp/compiler/lexer.h
+1
-1
module-loader.h
c++/src/capnp/compiler/module-loader.h
+1
-1
node-translator.h
c++/src/capnp/compiler/node-translator.h
+1
-1
parser.h
c++/src/capnp/compiler/parser.h
+1
-1
dynamic.h
c++/src/capnp/dynamic.h
+1
-1
endian.h
c++/src/capnp/endian.h
+1
-1
ez-rpc.h
c++/src/capnp/ez-rpc.h
+1
-1
generated-header-support.h
c++/src/capnp/generated-header-support.h
+1
-1
layout.h
c++/src/capnp/layout.h
+1
-1
list.h
c++/src/capnp/list.h
+1
-1
message.h
c++/src/capnp/message.h
+1
-1
orphan.h
c++/src/capnp/orphan.h
+1
-1
pointer-helpers.h
c++/src/capnp/pointer-helpers.h
+1
-1
pretty-print.h
c++/src/capnp/pretty-print.h
+1
-1
rpc-prelude.h
c++/src/capnp/rpc-prelude.h
+1
-1
rpc-twoparty.h
c++/src/capnp/rpc-twoparty.h
+1
-1
rpc.h
c++/src/capnp/rpc.h
+1
-1
schema-lite.h
c++/src/capnp/schema-lite.h
+1
-1
schema-loader.h
c++/src/capnp/schema-loader.h
+1
-1
schema-parser.h
c++/src/capnp/schema-parser.h
+1
-1
schema.h
c++/src/capnp/schema.h
+1
-1
serialize-async.h
c++/src/capnp/serialize-async.h
+1
-1
serialize-packed.h
c++/src/capnp/serialize-packed.h
+1
-1
serialize-text.h
c++/src/capnp/serialize-text.h
+1
-1
serialize.h
c++/src/capnp/serialize.h
+1
-1
test-util.h
c++/src/capnp/test-util.h
+1
-1
No files found.
c++/src/benchmark/capnproto-common.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_BENCHMARK_CAPNP_COMMON_H_
#define CAPNP_BENCHMARK_CAPNP_COMMON_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/benchmark/common.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_BENCHMARK_COMMON_H_
#define CAPNP_BENCHMARK_COMMON_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/any.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_ANY_H_
#define CAPNP_ANY_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/arena.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_ARENA_H_
#define CAPNP_ARENA_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/blob.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_BLOB_H_
#define CAPNP_BLOB_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/capability.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_CAPABILITY_H_
#define CAPNP_CAPABILITY_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/common.h
View file @
912a14cf
...
...
@@ -26,7 +26,7 @@
#ifndef CAPNP_COMMON_H_
#define CAPNP_COMMON_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/compiler/compiler.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_COMPILER_COMPILER_H_
#define CAPNP_COMPILER_COMPILER_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/compiler/error-reporter.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef ERROR_REPORTER_H_
#define ERROR_REPORTER_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/compiler/lexer.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_COMPILER_LEXER_H_
#define CAPNP_COMPILER_LEXER_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/compiler/module-loader.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_COMPILER_MODULE_LOADER_H_
#define CAPNP_COMPILER_MODULE_LOADER_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/compiler/node-translator.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_COMPILER_NODE_TRANSLATOR_H_
#define CAPNP_COMPILER_NODE_TRANSLATOR_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/compiler/parser.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_COMPILER_PARSER_H_
#define CAPNP_COMPILER_PARSER_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/dynamic.h
View file @
912a14cf
...
...
@@ -33,7 +33,7 @@
#ifndef CAPNP_DYNAMIC_H_
#define CAPNP_DYNAMIC_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/endian.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_ENDIAN_H_
#define CAPNP_ENDIAN_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/ez-rpc.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_EZ_RPC_H_
#define CAPNP_EZ_RPC_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/generated-header-support.h
View file @
912a14cf
...
...
@@ -24,7 +24,7 @@
#ifndef CAPNP_GENERATED_HEADER_SUPPORT_H_
#define CAPNP_GENERATED_HEADER_SUPPORT_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/layout.h
View file @
912a14cf
...
...
@@ -29,7 +29,7 @@
#ifndef CAPNP_LAYOUT_H_
#define CAPNP_LAYOUT_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/list.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_LIST_H_
#define CAPNP_LIST_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/message.h
View file @
912a14cf
...
...
@@ -29,7 +29,7 @@
#ifndef CAPNP_MESSAGE_H_
#define CAPNP_MESSAGE_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/orphan.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_ORPHAN_H_
#define CAPNP_ORPHAN_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/pointer-helpers.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_POINTER_HELPERS_H_
#define CAPNP_POINTER_HELPERS_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/pretty-print.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_PRETTY_PRINT_H_
#define CAPNP_PRETTY_PRINT_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/rpc-prelude.h
View file @
912a14cf
...
...
@@ -25,7 +25,7 @@
#ifndef CAPNP_RPC_PRELUDE_H_
#define CAPNP_RPC_PRELUDE_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/rpc-twoparty.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_RPC_TWOPARTY_H_
#define CAPNP_RPC_TWOPARTY_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/rpc.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_RPC_H_
#define CAPNP_RPC_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/schema-lite.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_SCHEMA_LITE_H_
#define CAPNP_SCHEMA_LITE_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/schema-loader.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_SCHEMA_LOADER_H_
#define CAPNP_SCHEMA_LOADER_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/schema-parser.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_SCHEMA_PARSER_H_
#define CAPNP_SCHEMA_PARSER_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/schema.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_SCHEMA_H_
#define CAPNP_SCHEMA_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/serialize-async.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_SERIALIZE_ASYNC_H_
#define CAPNP_SERIALIZE_ASYNC_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/serialize-packed.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_SERIALIZE_PACKED_H_
#define CAPNP_SERIALIZE_PACKED_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/serialize-text.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_SERIALIZE_TEXT_H_
#define CAPNP_SERIALIZE_TEXT_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/serialize.h
View file @
912a14cf
...
...
@@ -41,7 +41,7 @@
#ifndef CAPNP_SERIALIZE_H_
#define CAPNP_SERIALIZE_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
c++/src/capnp/test-util.h
View file @
912a14cf
...
...
@@ -22,7 +22,7 @@
#ifndef CAPNP_TEST_UTIL_H_
#define CAPNP_TEST_UTIL_H_
#if defined(__GNUC__) && !
CAPNP_HEADER_WARNINGS
#if defined(__GNUC__) && !
defined(CAPNP_HEADER_WARNINGS)
#pragma GCC system_header
#endif
...
...
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