Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
libzmq
Commits
3ebab09c
Commit
3ebab09c
authored
Jan 01, 2013
by
Matt Arsenault
Committed by
Matt Arsenault
Jan 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unused argument warnings
parent
e88dc494
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
CMakeLists.txt
CMakeLists.txt
+9
-3
decoder.hpp
src/decoder.hpp
+1
-1
zmq.cpp
src/zmq.cpp
+2
-2
No files found.
CMakeLists.txt
View file @
3ebab09c
...
...
@@ -110,9 +110,15 @@ option(LIBZMQ_PEDANTIC "" ON)
option
(
LIBZMQ_WERROR
""
OFF
)
if
(
LIBZMQ_PEDANTIC
)
zmq_check_cxx_flag_prepend
(
"-pedantic"
)
# GCC
zmq_check_cxx_flag_prepend
(
"-strict-ansi"
)
# ICC
zmq_check_cxx_flag_prepend
(
"-compat=5"
)
# Sun Studio
zmq_check_cxx_flag_prepend
(
"-pedantic"
)
if
(
${
CMAKE_CXX_COMPILER_ID
}
MATCHES
"Intel"
)
zmq_check_cxx_flag_prepend
(
"-strict-ansi"
)
endif
()
if
(
${
CMAKE_CXX_COMPILER_ID
}
MATCHES
"SunPro"
)
zmq_check_cxx_flag_prepend
(
"-compat=5"
)
endif
()
endif
()
if
(
LIBZMQ_WERROR
)
...
...
src/decoder.hpp
View file @
3ebab09c
...
...
@@ -163,7 +163,7 @@ namespace zmq
return
false
;
}
inline
bool
message_ready_size
(
size_t
msg_sz
)
inline
bool
message_ready_size
(
size_t
/* msg_sz */
)
{
zmq_assert
(
false
);
return
false
;
...
...
src/zmq.cpp
View file @
3ebab09c
...
...
@@ -980,7 +980,7 @@ int zmq_proxy (void *frontend_, void *backend_, void *control_)
// The deprecated device functionality
int
zmq_device
(
int
type
,
void
*
frontend_
,
void
*
backend_
)
int
zmq_device
(
int
/* type */
,
void
*
frontend_
,
void
*
backend_
)
{
return
zmq
::
proxy
(
(
zmq
::
socket_base_t
*
)
frontend_
,
...
...
@@ -989,7 +989,7 @@ int zmq_device (int type, void *frontend_, void *backend_)
// Callback to free socket event data
void
zmq_free_event
(
void
*
event_data
,
void
*
hint
)
void
zmq_free_event
(
void
*
event_data
,
void
*
/* hint */
)
{
zmq_event_t
*
event
=
(
zmq_event_t
*
)
event_data
;
...
...
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