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

Feature "turbojpeg_api" broken in latest mozjpeg-sys v0.10.11 #21

Open
lilith opened this issue Sep 17, 2020 · 0 comments
Open

Feature "turbojpeg_api" broken in latest mozjpeg-sys v0.10.11 #21

lilith opened this issue Sep 17, 2020 · 0 comments

Comments

@lilith
Copy link

lilith commented Sep 17, 2020

cargo:warning=vendor/turbojpeg.c:61:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
cargo:warning= static THREAD_LOCAL char errStr[JMSG_LENGTH_MAX] = "No error";
cargo:warning=                     ^~~~
cargo:warning=vendor/turbojpeg.c: In function ‘my_output_message’:
cargo:warning=vendor/turbojpeg.c:89:41: error: ‘errStr’ undeclared (first use in this function); did you mean ‘strstr’?
cargo:warning=   (*cinfo->err->format_message) (cinfo, errStr);
cargo:warning=                                         ^~~~~~

Note that I can disable this feature now so I'm not blocked by this, but I thought you'd like to know.

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

No branches or pull requests

1 participant