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

Workaround for macOS bug with strdup (fixes #4855) #4911

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

pguyot
Copy link
Contributor

@pguyot pguyot commented Apr 30, 2024

There is a bug with macOS where strdup is not defined if _XOPEN_SOURCE is defined to be 500.
This breaks macOS builds (see #4855)

The proposed workaround patches the files that do not compile on Darwin.

@danpovey danpovey merged commit e57be0d into kaldi-asr:master Apr 30, 2024
1 check passed
@pguyot pguyot deleted the w18/fix-macos-sctk-strdup branch April 30, 2024 08:52
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