Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing/misplaced PCRE2_CALL_CONVENTION macros in functions prototypes #139

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

cbouc
Copy link
Contributor

@cbouc cbouc commented Aug 10, 2022

4 functions prototypes were missing PCRE2_CALL_CONVENTION in src/pcre2posix.h

All functions prototypes returning pointers had out of place PCRE2_CALL_CONVENTION in src/pcre2.h.*

These produced errors when building for Windows with #define PCRE2_CALL_CONVENTION __stdcall.

Tests after changes (Debug and Release configs): All OK.

…totypes

4 functions prototypes were missing PCRE2_CALL_CONVENTION in src/pcre2posix.h
All functions prototypes returning pointers had out of place PCRE2_CALL_CONVENTION in src/pcre2.h.*
These produced errors when building for Windows with #define PCRE2_CALL_CONVENTION __stdcall.
Tests after changes (Debug and Release configs): All OK.
@PhilipHazel PhilipHazel merged commit 1f5e47b into PCRE2Project:master Aug 10, 2022
@PhilipHazel
Copy link
Collaborator

Thanks for noticing and fixing this.

PhilipHazel added a commit that referenced this pull request Aug 10, 2022
@cbouc
Copy link
Contributor Author

cbouc commented Aug 11, 2022 via email

@thesamesam
Copy link

I think this may break consumers of pcre2: #173.

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