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

Can't compile with Visual Studio 2005 #9

Closed
nmaya opened this issue May 19, 2016 · 3 comments
Closed

Can't compile with Visual Studio 2005 #9

nmaya opened this issue May 19, 2016 · 3 comments

Comments

@nmaya
Copy link

nmaya commented May 19, 2016

unicode.zip

@elad
Copy link
Collaborator

elad commented May 19, 2016

Spam.

@elad elad closed this as completed May 19, 2016
@nmaya
Copy link
Author

nmaya commented May 19, 2016

src/unicode.c is written in C99. Some local variable is not declared at head.

    if (buk->fold_len == 1) {
      items[0].byte_len = len;
      items[0].code_len = 1;
      items[0].code[0]  = *FOLDS1_FOLD(buk->index);
      n++;

      int un = FOLDS1_UNFOLDS_NUM(buk->index); // Error in ANSI-C compiler.

attached zip file includes a patch.

@nmaya
Copy link
Author

nmaya commented May 20, 2016

I learned about pull-request mechanism. #10 is new request.

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

2 participants