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

[Backport release/3.6] Add missing <cstdint headers for uint*_t types #6917

Merged
merged 1 commit into from Dec 13, 2022

Commits on Dec 13, 2022

  1. Add missing <cstdint headers for uint*_t types

    Without the change buld fails on upcomig `gcc-13` as:
    
        frmts/mrf/LERCV1/Lerc1Image.cpp: In member function 'bool Lerc1NS::Lerc1Image::isallsameval(int, int, int, int) const':
        frmts/mrf/LERCV1/Lerc1Image.cpp:730:5: error: 'uint32_t' was not declared in this scope
          730 |     uint32_t val = *reinterpret_cast<const uint32_t *>(&(*this)(r0, c0));
              |     ^~~~~~~~
        /build/gdal/frmts/mrf/LERCV1/Lerc1Image.cpp:29:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
           28 | #include <algorithm>
          +++ |+#include <cstdint>
    trofi authored and github-actions[bot] committed Dec 13, 2022
    Copy the full SHA
    7538be4 View commit details
    Browse the repository at this point in the history