Skip to content

m4/pcre2_visibility.m4: make sure PCRE2_EXPORT is always safe #413

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

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

carenas
Copy link
Contributor

@carenas carenas commented Jun 6, 2024

FTBFS with at least xlc or Sun Studio compilers

Fixes: #392

Since a8a875e (windows: integrate visibility attributes without
conflicts (PCRE2Project#249), 2023-05-16), PCRE2_EXPORT was meant to be
defined as an empty value for compilers that don't support
-fvisibility in *NIX, but a branch was left uncovered by mistake
resulting in compilation issues with propietary compilers in at
least Solaris and AIX.

define PCRE2_EXPORT even if the compiler is not GCC compatible.
@PhilipHazel PhilipHazel merged commit fb8404a into PCRE2Project:master Jun 7, 2024
11 checks passed
@carenas carenas deleted the cc branch June 7, 2024 15:56
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.

SunOS-5.11-SPARC - "src/pcre2.h", line 949: warning: no explicit type given
2 participants