Skip to content

Commit

Permalink
Fix building with gcc 13
Browse files Browse the repository at this point in the history
This fixes the following compiler error.

t_js_generator.cc:48:14: error: 'int64_t' does not name a type
   48 | static const int64_t max_safe_integer = 0x1fffffffffffff;
      |              ^~~~~~~
t_js_generator.cc:50:14: error: 'int64_t' does not name a type
   50 | static const int64_t min_safe_integer = -max_safe_integer;
      |              ^~~~~~~
  • Loading branch information
Biswa96 authored and Jens-G committed Oct 7, 2023
1 parent a14231c commit 7b8c042
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/cpp/src/thrift/generate/t_js_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <cassert>
#include <unordered_map>

#include <stdint.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sstream>
Expand Down

0 comments on commit 7b8c042

Please sign in to comment.