Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
5aa56598
Commit
5aa56598
authored
Jun 25, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings on GCC and Clang
parent
a8894382
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
libcaf_core/caf/config.hpp
libcaf_core/caf/config.hpp
+1
-0
libcaf_core/src/abstract_coordinator.cpp
libcaf_core/src/abstract_coordinator.cpp
+3
-0
libcaf_core/src/node_id.cpp
libcaf_core/src/node_id.cpp
+2
-2
libcaf_test/caf/test/unit_test_impl.hpp
libcaf_test/caf/test/unit_test_impl.hpp
+1
-1
No files found.
libcaf_core/caf/config.hpp
View file @
5aa56598
...
...
@@ -93,6 +93,7 @@
_Pragma("clang diagnostic ignored \"-Wweak-vtables\"") \
_Pragma("clang diagnostic ignored \"-Wused-but-marked-unused\"") \
_Pragma("clang diagnostic ignored \"-Wdisabled-macro-expansion\"") \
_Pragma("clang diagnostic ignored \"-Wunreachable-code\"") \
_Pragma("clang diagnostic ignored \"-Wsign-conversion\"")
# define CAF_POP_WARNINGS \
_Pragma("clang diagnostic pop")
...
...
libcaf_core/src/abstract_coordinator.cpp
View file @
5aa56598
...
...
@@ -235,6 +235,9 @@ void printer_loop(blocking_actor* self) {
struct
actor_data
{
std
::
string
current_line
;
sink_handle
redirect
;
actor_data
()
{
// nop
}
};
using
data_map
=
std
::
map
<
actor_addr
,
actor_data
>
;
sink_cache
fcache
;
...
...
libcaf_core/src/node_id.cpp
View file @
5aa56598
...
...
@@ -67,8 +67,8 @@ node_id::node_id(uint32_t procid, const std::string& hash)
// nop
}
node_id
::
node_id
(
uint32_t
procid
,
const
host_id_type
&
h
ost_
id
)
:
data_
(
make_counted
<
data
>
(
procid
,
h
ost_
id
))
{
node_id
::
node_id
(
uint32_t
procid
,
const
host_id_type
&
hid
)
:
data_
(
make_counted
<
data
>
(
procid
,
hid
))
{
// nop
}
...
...
libcaf_test/caf/test/unit_test_impl.hpp
View file @
5aa56598
...
...
@@ -410,7 +410,7 @@ bool engine::run(bool colorize,
}
unsigned
percent_good
=
100
;
if
(
total_bad
>
0
)
{
auto
tmp
=
(
100000.0
*
total_good
)
auto
tmp
=
(
100000.0
*
static_cast
<
double
>
(
total_good
)
)
/
static_cast
<
double
>
(
total_good
+
total_bad
);
percent_good
=
static_cast
<
unsigned
>
(
tmp
/
1000.0
);
}
...
...
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