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

Undeclared type uint64_t #16

Open
harkabeeparolus opened this issue Jul 9, 2020 · 0 comments
Open

Undeclared type uint64_t #16

harkabeeparolus opened this issue Jul 9, 2020 · 0 comments

Comments

@harkabeeparolus
Copy link

Compilation error on Red Hat Enterprise Linux Workstation release 7.5 (Maipo):

manual.c: In function 'add_highlights':
manual.c:1866:16: error: 'uint64_t' undeclared (first use in this function); did you mean 'u_int64_t'?
      else if ((uint64_t) (wskend-tmpstr)<manualcol) /* should be safe see check above */
                ^~~~~~~~
                u_int64_t

I was able to fix it by adding this line to the top of manual.c:

#include <stdint.h>
  • RHEL 7.5
    • gcc 4.8.5
    • glibc 2.17
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