Skip to content

Conversation

drewdzzz
Copy link
Collaborator

See commits for details

@drewdzzz drewdzzz force-pushed the fixes_for_customer branch 3 times, most recently from b7c76d5 to a88e61c Compare September 20, 2025 04:26
@CuriousGeorgiy CuriousGeorgiy removed their assignment Oct 6, 2025
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`.
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.
@drewdzzz
Copy link
Collaborator Author

(Just rebased to the fresh master)

@drewdzzz drewdzzz merged commit 2184427 into tarantool:master Oct 20, 2025
140 of 145 checks passed
@drewdzzz drewdzzz deleted the fixes_for_customer branch October 20, 2025 13:41
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.

3 participants