Skip to content

Conversation

@NWilson
Copy link
Member

@NWilson NWilson commented Sep 26, 2025

The memmove function dates back to C89, and has been available in all systems since 1993 (when SunOS 5 and BSD 4.4 were released).

The Visual Pascal compiler had its last release in 2003 and its original author posted in 2005 that "Virtual Pascal has died". Those macros can also be removed now.

The only reason I want to be proactive about this is because many users incorporate the source files from PCRE2 into their own build system. Some of these users are undoubtedly getting the memmove fallback code, if they are not providing the HAVE_MEMMOVE macro. Our minimum supported C version is now C99, so there is no need for pre-C89 fallbacks.

See: #804

Copy link
Contributor

@carenas carenas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build.zig also needs updating though

@NWilson
Copy link
Member Author

NWilson commented Sep 26, 2025

Oops! Thank you. I missed that because my editor is usually set to exclude build* from searches (to hide noise from build directories).

@NWilson NWilson merged commit 36f5184 into master Sep 26, 2025
56 checks passed
@NWilson NWilson deleted the user/niwilson/memmove branch September 26, 2025 21:24
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