Skip to content

Remove weak_alias from musl/include/features.h. - #14379

Merged
sbc100 merged 1 commit into
mainfrom
remove_weak_alias
Jun 4, 2021
Merged

sbc100 merged 1 commit into
mainfrom
remove_weak_alias

Conversation

@sbc100

@sbc100 sbc100 commented Jun 4, 2021

Copy link
Copy Markdown
Collaborator

This was added in #11215 to maintain comatability with upgraded version
of stpcpy.c/stpncpy.c/strchrnul.c.

However, this macro was never indended to exposed outside of musl
itself. In musl v1.2.2 this macro lives in the internal version of
features.h but musl v1.1.15 does't have an internal features.h. Instead
this macro lives in libc.h in v1.1.15.

See: #14352
Fixes: #14350

This was added in #11215 to maintain comatability with upgraded version
of stpcpy.c/stpncpy.c/strchrnul.c.

However, this macro was never indended to exposed outside of musl
itself.  In musl v1.2.2 this macro lives in the *internal* version of
features.h but musl v1.1.15 does't have an internal features.h.  Instead
this macro lives in libc.h in v1.1.15.

See: #14352
Fixes: #14350
@sbc100
sbc100 enabled auto-merge (squash) June 4, 2021 20:03
@sbc100
sbc100 merged commit 79e5c94 into main Jun 4, 2021
@sbc100
sbc100 deleted the remove_weak_alias branch June 4, 2021 20:28
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.

[gnutls]: does not compile if it uses musl's weak_alias()

2 participants