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

include utf8.h for utf8_decode() #33

Closed
wants to merge 1 commit into from
Closed

include utf8.h for utf8_decode() #33

wants to merge 1 commit into from

Conversation

janstary
Copy link

ogginfo/codec_skeleton.c calls utf8_decode() but does not include thf8.h,
resulting in the following compilation error on macOS 12.3.1:

codec_skeleton.c:118:9: error: implicit declaration of function 'utf8_decode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    if (utf8_decode(header, &decoded) < 0) {
        ^

@janstary janstary closed this by deleting the head repository Jan 3, 2023
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.

1 participant