Files
src/usr.bin
John Baldwin 5c504c625d kyua: Workaround unclear warning from GCC
GCC 15 does not like a push_back() invocation in utils::find_core()
and incorrectly believes libc++ will free a non-heap pointer.  Disable
the warning to pacify GCC.

In function 'void std::__1::__libcpp_operator_delete(_Args ...) [with _Args = {void*, long unsigned int}]',
    inlined from 'void std::__1::__do_deallocate_handle_size(void*, size_t, _Args ...) [with _Args = {}]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/new:298:39,
    inlined from 'void std::__1::__libcpp_deallocate(void*, size_t, size_t)' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/new:311:39,
    inlined from 'void std::__1::allocator<_Tp>::deallocate(_Tp*, size_t) [with _Tp = utils::fs::path]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/__memory/allocator.h:132:31,
    inlined from 'static void std::__1::allocator_traits<_Alloc>::deallocate(allocator_type&, pointer, size_type) [with _Alloc = std::__1::allocator<utils::fs::path>]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/__memory/allocator_traits.h:314:19,
    inlined from 'std::__1::__split_buffer<_Tp, _Allocator>::~__split_buffer() [with _Tp = utils::fs::path; _Allocator = std::__1::allocator<utils::fs::path>&]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/__split_buffer:365:31,
    inlined from 'std::__1::vector<_Tp, _Alloc>::pointer std::__1::vector<_Tp, _Alloc>::__push_back_slow_path(_Up&&) [with _Up = utils::fs::path; _Tp = utils::fs::path; _Allocator = std::__1::allocator<utils::fs::path>]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/vector:1504:1,
    inlined from 'void std::__1::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = utils::fs::path; _Allocator = std::__1::allocator<utils::fs::path>]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/vector:1526:34,
    inlined from 'utils::optional<utils::fs::path> utils::find_core(const fs::path&, const process::status&, const fs::path&)' at contrib/kyua/utils/stacktrace.cpp:217:25:
/usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/new:274:38: error: 'void operator delete(void*, size_t)' called on pointer '<unknown>' with nonzero offset [24, 9223372036854775807] [-Werror=free-nonheap-object]
  274 |   __builtin_operator_delete(__args...);
      |                                      ^
In function 'void* std::__1::__libcpp_operator_new(_Args ...) [with _Args = {long unsigned int}]',
    inlined from 'void* std::__1::__libcpp_allocate(size_t, size_t)' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/new:289:31,
    inlined from '_Tp* std::__1::allocator<_Tp>::allocate(size_t) [with _Tp = utils::fs::path]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/__memory/allocator.h:118:54,
    inlined from 'constexpr std::__1::__allocation_result<typename std::__1::allocator_traits<_Alloc>::pointer> std::__1::__allocate_at_least(_Alloc&, size_t) [with _Alloc = allocator<utils::fs::path>]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/__memory/allocate_at_least.h:41:27,
    inlined from 'std::__1::__split_buffer<_Tp, _Allocator>::__split_buffer(size_type, size_type, __alloc_rr&) [with _Tp = utils::fs::path; _Allocator = std::__1::allocator<utils::fs::path>&]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/__split_buffer:353:49,
    inlined from 'std::__1::vector<_Tp, _Alloc>::pointer std::__1::vector<_Tp, _Alloc>::__push_back_slow_path(_Up&&) [with _Up = utils::fs::path; _Tp = utils::fs::path; _Allocator = std::__1::allocator<utils::fs::path>]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/vector:1498:47,
    inlined from 'void std::__1::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = utils::fs::path; _Allocator = std::__1::allocator<utils::fs::path>]' at /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/vector:1526:34,
    inlined from 'utils::optional<utils::fs::path> utils::find_core(const fs::path&, const process::status&, const fs::path&)' at contrib/kyua/utils/stacktrace.cpp:216:25:
/usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/new:265:42: note: returned from 'void* operator new(size_t)'
  265 |   return __builtin_operator_new(__args...);
      |                                          ^

Reviewed by:	imp, dim
Differential Revision:	https://reviews.freebsd.org/D54868
2026-01-27 13:39:41 -05:00
..
2025-09-03 23:59:48 -06:00
2025-12-03 10:15:46 -08:00
2023-10-04 18:12:03 +02:00
2024-10-14 10:26:17 -07:00
2024-11-14 20:41:47 +01:00
2024-11-27 13:22:50 +01:00
2025-05-13 11:33:08 +01:00
2025-12-23 11:36:39 +01:00
2025-10-21 17:52:44 +02:00
2025-11-03 18:21:58 -05:00
2024-09-26 23:12:39 +02:00
2024-11-14 20:41:47 +01:00
2025-03-21 16:20:21 -04:00
2024-10-14 10:26:17 -07:00
2023-11-26 22:23:30 -07:00
2026-01-12 00:51:05 -07:00
2024-10-14 10:26:17 -07:00
2024-11-14 16:59:22 -04:00
2024-10-14 10:26:17 -07:00
2025-11-02 14:48:12 +01:00
2025-08-08 01:34:07 +02:00
2025-11-14 08:36:28 -06:00
2025-08-12 19:21:12 +02:00
2025-11-10 00:55:06 -08:00
2024-10-14 10:26:17 -07:00
2024-11-14 16:59:43 -04:00
2025-10-06 17:30:17 +02:00
2025-09-18 10:26:12 +01:00
2025-10-02 02:37:35 +01:00
2026-01-18 13:26:52 +01:00
2024-12-12 09:24:31 +01:00
2024-11-27 15:26:51 +01:00
2025-05-20 04:29:49 +00:00
2024-10-14 10:26:17 -07:00
2025-12-17 15:08:31 +01:00
2024-10-14 10:26:17 -07:00
2025-09-16 15:38:25 +02:00
2025-10-07 18:23:57 +02:00
2025-10-21 17:52:44 +02:00
2025-10-02 08:24:52 +00:00
2024-10-14 10:26:17 -07:00
2024-11-29 14:38:35 -07:00
2024-10-14 10:26:17 -07:00
2025-05-27 22:24:22 +02:00
2024-10-14 10:26:17 -07:00
2026-01-14 16:28:57 +01:00
2025-07-26 18:44:43 +02:00
2025-09-30 09:14:46 +01:00
2026-01-06 04:24:59 +00:00