-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
-
Operating environment:
System: Windows 10
MinGW: gcc version 13.2.0 (MinGW-W64 x86_64-msvcrt-posix-seh, built by Brecht Sanders)
grpc: 1.72.0
re2: v2024.07.02
Cmake: 3.27.1 -
Compilation error:
D:/Codings/grpc-1.72.0/grpc/third_party/re2/util/pcre.h:503:11: error: 'int32_t' does not name a type
503 | mutable int32_t hit_limit_; // Hit limit during execution (bool)
| ^~~~~~~
D:/Codings/grpc-1.72.0/grpc/third_party/re2/util/pcre.h:166:1: note: 'int32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
165 | #include "re2/stringpiece.h"
+++ |+#include <cstdint>
166 |
D:\Codings\grpc-1.72.0\grpc\third_party\re2\util\pcre.cc: In member function 'void re2::PCRE::Init(const char*, Option, int, int, bool)':
D:\Codings\grpc-1.72.0\grpc\third_party\re2\util\pcre.cc:109:3: error: 'hit_limit_' was not declared in this scope; did you mean 'HitLimit'?
109 | hit_limit_ = false;
| ^~~~~~~~~~
| HitLimit
D:\Codings\grpc-1.72.0\grpc\third_party\re2\util\pcre.cc: In member function 'bool re2::PCRE::HitLimit()':
D:\Codings\grpc-1.72.0\grpc\third_party\re2\util\pcre.cc:504:10: error: 'hit_limit_' was not declared in this scope; did you mean 'HitLimit'?
504 | return hit_limit_ != 0;
| ^~~~~~~~~~
| HitLimit
D:\Codings\grpc-1.72.0\grpc\third_party\re2\util\pcre.cc: In member function 'void re2::PCRE::ClearHitLimit()':
D:\Codings\grpc-1.72.0\grpc\third_party\re2\util\pcre.cc:508:3: error: 'hit_limit_' was not declared in this scope; did you mean 'HitLimit'?
508 | hit_limit_ = 0;
| ^~~~~~~~~~
| HitLimit
D:\Codings\grpc-1.72.0\grpc\third_party\re2\util\pcre.cc: In member function 'int re2::PCRE::TryMatch(const re2::StringPiece&, size_t, Anchor, bool, int*, int) const':
D:\Codings\grpc-1.72.0\grpc\third_party\re2\util\pcre.cc:573:9: error: 'hit_limit_' was not declared in this scope; did you mean 'HitLimit'?
573 | hit_limit_ = true;
| ^~~~~~~~~~
| HitLimit
mingw32-make[2]: *** [third_party\re2\CMakeFiles\testing.dir\build.make:181: third_party/re2/CMakeFiles/testing.dir/util/pcre.cc.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:8828: third_party/re2/CMakeFiles/testing.dir/all] Error 2
mingw32-make: *** [makefile:155: all] Error 2
Solve it by reducing (re2: v.2024.06.01) one version
Metadata
Metadata
Assignees
Labels
No labels