Fails to build on Debian 12 (gcc 12) #18383
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
sig/build
Categorizes an issue or PR as relevant to SIG Build.
This function is part of the C++ Standard Library and has been marked as deprecated in modern C++ standards (C++17 and later). The purpose of get_temporary_buffer was to allocate uninitialized memory, but it has been deprecated due to the availability of better alternatives for managing dynamic memory.
You can allocate memory dynamically and want automatic cleanup, you can use std::unique_ptr:
The text was updated successfully, but these errors were encountered: