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
472cf747
Commit
472cf747
authored
Oct 26, 2017
by
gejun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove -Werror from makefiles of examples and tools
parent
112b86d7
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
12 additions
and
11 deletions
+12
-11
Makefile
example/echo_c++/Makefile
+1
-1
Makefile
example/http_c++/Makefile
+1
-1
Makefile
example/memcache_c++/Makefile
+1
-1
Makefile
example/multi_threaded_echo_c++/Makefile
+1
-1
Makefile
example/redis_c++/Makefile
+1
-1
clean_all_examples
tools/clean_all_examples
+2
-1
Makefile
tools/parallel_http/Makefile
+1
-1
Makefile
tools/rpc_press/Makefile
+1
-1
Makefile
tools/rpc_replay/Makefile
+1
-1
Makefile
tools/rpc_view/Makefile
+1
-1
Makefile
tools/trackme_server/Makefile
+1
-1
No files found.
example/echo_c++/Makefile
View file @
472cf747
...
...
@@ -3,7 +3,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
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-W
error
-W
no-unused-parameter
-fPIC
-fno-omit-frame-pointer
CXXFLAGS
+=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-Wno-unused-parameter
-fPIC
-fno-omit-frame-pointer
HDRS
+=
$(BRPC_PATH)
/output/include
LIBS
+=
$(BRPC_PATH)
/output/lib
HDRPATHS
=
$
(
addprefix
-I
,
$(HDRS)
)
...
...
example/http_c++/Makefile
View file @
472cf747
...
...
@@ -4,7 +4,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
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-W
error
-W
no-unused-parameter
-fPIC
-fno-omit-frame-pointer
CXXFLAGS
+=
$(CPPFLAGS)
-std
=
c++0x
-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
...
...
example/memcache_c++/Makefile
View file @
472cf747
BRPC_PATH
=
../../
include
$(BRPC_PATH)/config.mk
CXXFLAGS
+=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-
Werror
-
fPIC
-fno-omit-frame-pointer
CXXFLAGS
+=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-fPIC
-fno-omit-frame-pointer
HDRS
+=
$(BRPC_PATH)
/output/include
LIBS
+=
$(BRPC_PATH)
/output/lib
HDRPATHS
=
$
(
addprefix
-I
,
$(HDRS)
)
...
...
example/multi_threaded_echo_c++/Makefile
View file @
472cf747
...
...
@@ -4,7 +4,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
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-W
error
-W
no-unused-parameter
-fPIC
-fno-omit-frame-pointer
CXXFLAGS
+=
$(CPPFLAGS)
-std
=
c++0x
-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
...
...
example/redis_c++/Makefile
View file @
472cf747
BRPC_PATH
=
../../
include
$(BRPC_PATH)/config.mk
CXXFLAGS
+=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-
Werror
-
fPIC
-fno-omit-frame-pointer
CXXFLAGS
+=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-fPIC
-fno-omit-frame-pointer
HDRS
+=
$(BRPC_PATH)
/output/include
LIBS
+=
$(BRPC_PATH)
/output/lib
HDRPATHS
=
$
(
addprefix
-I
,
$(HDRS)
)
...
...
tools/clean_all_examples
View file @
472cf747
saved_pwd_before_making=$PWD
for file in `find example tools -name Makefile`; do
cd $(dirname $file)
echo -e "\n[$file]"
echo
echo "\n[$file]"
make -s clean
cd $saved_pwd_before_making
done
tools/parallel_http/Makefile
View file @
472cf747
BRPC_PATH
=
../../
include
$(BRPC_PATH)/config.mk
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-
Werror
-
fPIC
-fno-omit-frame-pointer
-Wno-unused-parameter
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-fPIC
-fno-omit-frame-pointer
-Wno-unused-parameter
HDRPATHS
=
-I
$(BRPC_PATH)
/output/include
$
(
addprefix
-I
,
$(HDRS)
)
LIBPATHS
=
-L
$(BRPC_PATH)
/output/lib
$
(
addprefix
-L
,
$(LIBS)
)
STATIC_LINKINGS
+=
-lbrpc
...
...
tools/rpc_press/Makefile
View file @
472cf747
BRPC_PATH
=
../../
include
$(BRPC_PATH)/config.mk
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-
Werror
-
fPIC
-fno-omit-frame-pointer
-Wno-unused-parameter
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-fPIC
-fno-omit-frame-pointer
-Wno-unused-parameter
HDRPATHS
=
-I
$(BRPC_PATH)
/output/include
$
(
addprefix
-I
,
$(HDRS)
)
LIBPATHS
=
-L
$(BRPC_PATH)
/output/lib
$
(
addprefix
-L
,
$(LIBS)
)
STATIC_LINKINGS
+=
-lbrpc
...
...
tools/rpc_replay/Makefile
View file @
472cf747
BRPC_PATH
=
../../
include
$(BRPC_PATH)/config.mk
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-
Werror
-
fPIC
-fno-omit-frame-pointer
-Wno-unused-parameter
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-fPIC
-fno-omit-frame-pointer
-Wno-unused-parameter
HDRPATHS
=
-I
$(BRPC_PATH)
/output/include
$
(
addprefix
-I
,
$(HDRS)
)
LIBPATHS
=
-L
$(BRPC_PATH)
/output/lib
$
(
addprefix
-L
,
$(LIBS)
)
STATIC_LINKINGS
+=
-lbrpc
...
...
tools/rpc_view/Makefile
View file @
472cf747
...
...
@@ -3,7 +3,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
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-W
error
-W
no-unused-parameter
-fPIC
-fno-omit-frame-pointer
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-Wno-unused-parameter
-fPIC
-fno-omit-frame-pointer
HDRPATHS
=
-I
$(BRPC_PATH)
/output/include
$
(
addprefix
-I
,
$(HDRS)
)
LIBPATHS
=
-L
$(BRPC_PATH)
/output/lib
$
(
addprefix
-L
,
$(LIBS)
)
STATIC_LINKINGS
+=
-lbrpc
...
...
tools/trackme_server/Makefile
View file @
472cf747
BRPC_PATH
=
../../
include
$(BRPC_PATH)/config.mk
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-
Werror
-
fPIC
-fno-omit-frame-pointer
CXXFLAGS
=
$(CPPFLAGS)
-std
=
c++0x
-DNDEBUG
-O2
-D__const__
=
-pipe
-W
-Wall
-fPIC
-fno-omit-frame-pointer
HDRPATHS
=
-I
$(BRPC_PATH)
/output/include
$
(
addprefix
-I
,
$(HDRS)
)
LIBPATHS
=
-L
$(BRPC_PATH)
/output/lib
$
(
addprefix
-L
,
$(LIBS)
)
STATIC_LINKINGS
+=
-lbrpc
...
...
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