Skip to content

Conversation

drewdzzz
Copy link
Collaborator

See commits for details

Function `mempcpy` is a GNU extension and is not available on some
platforms like MacOS. And, actually, `mempcpy` is the same as `memcpy`,
the only difference is returned value, and it's not even used in the code
that calls the function. So let's simply replace it with `memcpy`.
@drewdzzz drewdzzz force-pushed the fixes_for_customer branch 2 times, most recently from 6b08e02 to b7c76d5 Compare September 20, 2025 04:12
Such names as `LogLevel`, `Logger`, `LOG_ERROR` and so on are too common
and our users can use them in their projects. It will lead to conflicts,
so let's move logger to namespace `tnt` just as other utils and rename
macros like `LOG_ERROR` to `TNT_LOG_ERROR`.
RedHat Enterprise Linux 7 has a bug in its toolchain - `std::string`
doesn't have `noexcept` default constructor despite standard demands it.
Unfortunately, this problem is popular and our users have filed several
reports of build failure because of this bug - constructor of `Stream`
cannot be declared as `Stream() noexcept = default;` because it contains
`std::string` fields which cannot be noexcept-default-constructible.
Let's simply replace it with `Stream() noexcept {};` construction - it
won't actually change anything anyway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant