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

Build error: implicit declaration of function 'mtex2MML_free_string' is invalid in C99 #68

Open
cj1128 opened this issue Aug 6, 2020 · 2 comments

Comments

@cj1128
Copy link

cj1128 commented Aug 6, 2020

I got this error when building:

../../../../ext/mathematical/mathematical.c:104:5: error: implicit declaration
      of function 'mtex2MML_free_string' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
    mtex2MML_free_string(mathml);
    ^
../../../../ext/mathematical/mathematical.c:104:5: note: did you mean
      'itex2MML_free_string'?
../../../../ext/mathematical/lasem_overrides.h:12:6: note:
      'itex2MML_free_string' declared here
void itex2MML_free_string (char * str);
     ^
@kvark
Copy link

kvark commented Sep 19, 2020

This basically makes the gem unavailable on macOS. Unless you have a workaround.

@gjtorikian
Copy link
Owner

Hi! I’m working on a dissertation at the moment so I don’t have too much free time, but I will look at this when I get a chance.

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

3 participants