Project

General

Profile

Actions

Bug #64191

open

neorados: compiler warnings in main

Added by Patrick Donnelly 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
low-hanging-fruit
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

/home/pdonnell/ceph/src/test/neorados/handler_error.cc: In member function ‘virtual boost::asio::awaitable<void> neocls_handler_error_test_handler_error_Test::CoTestBody()’:                  /home/pdonnell/ceph/src/test/neorados/handler_error.cc:62:1: warning: ‘static void boost::asio::detail::awaitable_frame_base<Executor>::operator delete(void*, std::size_t) [with Executor = bo
ost::asio::any_io_executor]’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]                                                                           62 | }                                                                                                                                                                                            | ^                                                                                                                                                                                      In file included from boost/include/boost/asio/execution/detail/as_invocable.hpp:20,                                                                                                                            from boost/include/boost/asio/execution/execute.hpp:23,                                                                                                                                        from boost/include/boost/asio/execution/executor.hpp:25,                                                                                                                                       from boost/include/boost/asio/execution/allocator.hpp:20,                                                                                                                                      from boost/include/boost/asio/execution.hpp:18,                                                                                                                                                from boost/include/boost/asio/any_io_executor.hpp:22,                                                                                                                         
                 from boost/include/boost/asio/awaitable.hpp:29,                                                                                                                               
                 from boost/include/boost/asio/use_awaitable.hpp:22,                                                                                                                                            from /home/pdonnell/ceph/src/test/neorados/handler_error.cc:17:                                                                                                               
boost/include/boost/asio/detail/memory.hpp:120:33: note: returned from ‘void* aligned_alloc(size_t, size_t)’                                                                                     120 |   void* ptr = std::aligned_alloc(align, size);                                                                                                                                               |               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~                                                                                                                                          
Actions #1

Updated by Radoslaw Zarzynski 3 months ago

  • Translation missing: en.field_tag_list set to low-hanging-fruit
  • Tags set to low-hanging-fruit
Actions #2

Updated by Radoslaw Zarzynski 3 months ago

  • Priority changed from High to Normal
Actions

Also available in: Atom PDF