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

Use "%Iu" for size_t in printf on Windows #225

Closed
kou opened this issue Oct 23, 2014 · 1 comment
Closed

Use "%Iu" for size_t in printf on Windows #225

kou opened this issue Oct 23, 2014 · 1 comment

Comments

@kou
Copy link
Member

kou commented Oct 23, 2014

GCC uses %zu for size_t but MSVC uses %Iu for size_t.

We should define GRN_FMT_SIZE macro and use it in printf().

@kou
Copy link
Member Author

kou commented Oct 23, 2014

Done.

@kou kou closed this as completed Oct 23, 2014
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