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

tests/featuremap/featuremaptest.cpp: add missing <stdint.h> include #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trofi
Copy link

@trofi trofi commented Aug 2, 2024

Without the change graphite build fails on upcoming gcc-15 as:

tests/featuremap/featuremaptest.cpp:30:15: error: 'uint8_t' was not declared in this scope
   30 |   std::vector<uint8_t> _ttf;
      |               ^~~~~~~
tests/featuremap/featuremaptest.cpp:16:1: note: 'uint8_t' is defined in header '<cstdint>';
  this is probably fixable by adding '#include <cstdint>'
   15 | #include "inc/Face.h"
  +++ |+#include <cstdint>
   16 | #include "inc/FeatureMap.h"

Without the change `graphite` build fails on upcoming `gcc-15` as:

    tests/featuremap/featuremaptest.cpp:30:15: error: 'uint8_t' was not declared in this scope
       30 |   std::vector<uint8_t> _ttf;
          |               ^~~~~~~
    tests/featuremap/featuremaptest.cpp:16:1: note: 'uint8_t' is defined in header '<cstdint>';
      this is probably fixable by adding '#include <cstdint>'
       15 | #include "inc/Face.h"
      +++ |+#include <cstdint>
       16 | #include "inc/FeatureMap.h"
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

Successfully merging this pull request may close these issues.

1 participant