Skip to content

Commit

Permalink
PROJ: add missing <cstdint> includes
Browse files Browse the repository at this point in the history
Without the change build fails on upcomig `gcc-13` as:

    In file included from /build/PROJ/src/iso19111/operation/conversion.cpp:58:
    src/proj_json_streaming_writer.hpp:42:14:
      error: 'int64_t' in namespace 'std' does not name a type
       42 | typedef std::int64_t GIntBig;
          |              ^~~~~~~

gcc-13 cleaned it's header dependencies and that exposes these failures.
  • Loading branch information
trofi committed Nov 14, 2022
1 parent a33621e commit b0b8937
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/proj_json_streaming_writer.hpp
Expand Up @@ -33,6 +33,7 @@

#include <vector>
#include <string>
#include <cstdint>

#define CPL_DLL

Expand Down
1 change: 1 addition & 0 deletions src/projections/s2.cpp
Expand Up @@ -58,6 +58,7 @@

#include <errno.h>
#include <cmath>
#include <cstdint>

#include "proj.h"
#include "proj_internal.h"
Expand Down

0 comments on commit b0b8937

Please sign in to comment.