Skip to content

libc_allocator_with_realloc.h:68:40: error #13

@juands74

Description

@juands74

Ubuntu 20.04 compiling error

......use ‘new’ and ‘delete’ instead [-Werror=class-memaccess]
68 | return static_cast(realloc(p, n * sizeof(value_type)));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions