Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@stsp
Copy link
Member

@stsp stsp commented May 1, 2025

No description provided.

stsp added 5 commits May 1, 2025 17:34
This reverts commit eddbdb4.

This removes the last placement-new!
See #56

Conflicts:
	fdpp/farptr.hpp
	fdpp/meson.build
	kernel/dosfns.c
XFarPtr seems to never take non-const string, therefore we
can remove the appropriate ctor and relax the const ctor to not
take the reference, but rather the pointer.
This way it can accept dir_name from temporaries, which only
match to the const pointer.
Closes #266

It appears there is no common denominator available between
gcc and clang: gcc doesn't allow unaligned references and
clang doesn't allow assignable temporaries.
So its simpler to just implement both approaches separated
by ifdef's.

This eliminates the use of hackrefs.h for gcc, leaving it
for clang only.
@stsp stsp merged commit 47c9d05 into master May 1, 2025
2 checks passed
@stsp stsp deleted the no_pnew branch May 1, 2025 17:21
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.

2 participants