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

Error compiling deviceutil.cpp: uint64_t does not name a type did you forget to include cstdint #123

Open
rubin55 opened this issue Apr 23, 2024 · 1 comment

Comments

@rubin55
Copy link

rubin55 commented Apr 23, 2024

I'm building current git master, and I'm getting the following:

make: *** [Makefile:101: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Scrolling up a bit I see:

/tmp/makepkg.builddir/townsemu-git/src/TOWNSEMU/src/device/deviceutil.h:22:16: error: ‘uint64_t’ does not name a type
   22 |         static uint64_t ReadUint64(const unsigned char *&data);
      |                ^~~~~~~~
/tmp/makepkg.builddir/townsemu-git/src/TOWNSEMU/src/device/deviceutil.h:1:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  +++ |+#include <cstdint>
    1 | #ifndef DEVICEUTIL_IS_INCLUDED

Messages like the above occur multiple times, for various similar int types.

@captainys
Copy link
Owner

You are absolutely right. I'm going to push a fix soon.

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