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

Add header missing when compiling with mingw-gcc #19187

Closed
wants to merge 1 commit into from

Commits on Aug 7, 2023

  1. Add header missing when compiling with mingw-gcc

    Fixes this failure:
    
    ```
    external/bazel_tools/src/tools/launcher/launcher_maker.cc:77:3: error: 'int64_t' was not declared in this scope
       77 |   int64_t bytes = 0;
          |   ^~~~~~~
    external/bazel_tools/src/tools/launcher/launcher_maker.cc:22:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
       21 | #include "src/main/cpp/util/path_platform.h"
      +++ |+#include <cstdint>
       22 |
    external/bazel_tools/src/tools/launcher/launcher_maker.cc:81:5: error: 'bytes' was not declared in this scope
       81 |     bytes += line.length();
          |     ^~~~~
    external/bazel_tools/src/tools/launcher/launcher_maker.cc:86:44: error: 'bytes' was not declared in this scope
       86 |   dst.write(reinterpret_cast<const char*>(&bytes), sizeof(bytes));
          |                                            ^~~~~
    
    ```
    fmeum committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    b26b01e View commit details
    Browse the repository at this point in the history