Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
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
brpc
Commits
60581f05
Commit
60581f05
authored
Dec 12, 2019
by
zhujiashun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redis_server_protocol: remove Werror in thrift example
parent
dbde032d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Makefile
example/thrift_extension_c++/Makefile
+1
-1
redis.h
src/brpc/redis.h
+1
-1
No files found.
example/thrift_extension_c++/Makefile
View file @
60581f05
...
...
@@ -21,7 +21,7 @@ include $(BRPC_PATH)/config.mk
# Notes on the flags:
# 1. Added -fno-omit-frame-pointer: perf/tcmalloc-profiler use frame pointers by default
# 2. Added -D__const__= : Avoid over-optimizations of TLS variables by GCC>=4.8
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-g
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-W
error
-W
no-unused-parameter
-fPIC
-fno-omit-frame-pointer
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-g
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-Wno-unused-parameter
-fPIC
-fno-omit-frame-pointer
ifeq
($(NEED_GPERFTOOLS),
1)
CXXFLAGS
+=
-DBRPC_ENABLE_CPU_PROFILER
endif
...
...
src/brpc/redis.h
View file @
60581f05
...
...
@@ -128,7 +128,7 @@ public:
void
Print
(
std
::
ostream
&
)
const
;
protected
:
::
google
::
protobuf
::
Metadata
GetMetadata
()
const
;
::
google
::
protobuf
::
Metadata
GetMetadata
()
const
override
;
private
:
void
SharedCtor
();
...
...
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