Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix building c api examples with alsa #691

Merged
merged 1 commit into from
Mar 23, 2024

Conversation

csukuangfj
Copy link
Collaborator

It fixes the following error

/root/fangjun/open-source/sherpa-onnx/c-api-examples/asr-microphone-example/c-api-alsa.cc:75:1: sorry, unimplemented: non-trivial designated initializers not supported
 };
 ^
Screenshot 2024-03-23 at 16 15 26

designated initializers requires C++ 20.

@csukuangfj csukuangfj merged commit e6da2c5 into k2-fsa:master Mar 23, 2024
@csukuangfj csukuangfj deleted the fix-c-api branch March 23, 2024 08:17
XiaYucca pushed a commit to XiaYucca/sherpa-onnx that referenced this pull request Jan 9, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant