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
47397a94
Commit
47397a94
authored
Aug 05, 2023
by
Samir Halilcevic
Committed by
Dominik Charousset
Aug 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn warnings into errors in CI - FreeBSD
parent
b3bf4954
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
.ci/debug-flags.cmake
.ci/debug-flags.cmake
+3
-0
libcaf_net/caf/net/multiplexer.cpp
libcaf_net/caf/net/multiplexer.cpp
+2
-1
libcaf_test/caf/test/test.test.cpp
libcaf_test/caf/test/test.test.cpp
+0
-1
No files found.
.ci/debug-flags.cmake
View file @
47397a94
...
...
@@ -5,3 +5,6 @@ set(CAF_LOG_LEVEL TRACE CACHE STRING "")
if
(
NOT MSVC AND NOT CMAKE_SYSTEM MATCHES BSD
)
set
(
CMAKE_BUILD_TYPE Debug CACHE STRING
""
)
endif
()
if
(
CMAKE_SYSTEM MATCHES BSD
)
set
(
CMAKE_CXX_FLAGS
"-Werror"
)
endif
()
libcaf_net/caf/net/multiplexer.cpp
View file @
47397a94
...
...
@@ -434,7 +434,8 @@ public:
}
/// Handles an I/O event on given manager.
void
handle
(
const
socket_manager_ptr
&
mgr
,
short
events
,
short
revents
)
{
void
handle
(
const
socket_manager_ptr
&
mgr
,
[[
maybe_unused
]]
short
events
,
short
revents
)
{
CAF_LOG_TRACE
(
CAF_ARG2
(
"socket"
,
mgr
->
handle
().
id
)
<<
CAF_ARG
(
events
)
<<
CAF_ARG
(
revents
));
CAF_ASSERT
(
mgr
!=
nullptr
);
...
...
libcaf_test/caf/test/test.test.cpp
View file @
47397a94
...
...
@@ -9,7 +9,6 @@ using caf::test::block_type;
TEST
(
"tests can contain different types of checks"
)
{
auto
&
rep
=
caf
::
test
::
reporter
::
instance
();
auto
stats
=
rep
.
test_stats
();
SECTION
(
"check_ne checks for inequality"
)
{
check_ne
(
0
,
1
);
should_fail
([
this
]()
{
check_ne
(
0
,
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