trantor icon indicating copy to clipboard operation
trantor copied to clipboard

[ERROR] compile error on release

Open gabriel-eduardo-dev opened this issue 2 years ago • 3 comments

Error found in release, #include is missing in trantor/utils/MsgBuffer.h, and more diffs in Utilities

gabriel-eduardo-dev avatar Jun 02 '23 16:06 gabriel-eduardo-dev

I'm also getting errors trying to build&install 1.5.11 using vcpkg.

/opt/vcpkg/buildtrees/trantor/src/v1.5.11-9f0856a556.clean/trantor/utils/Utilities.cc:178:9: error: ‘intmax_t’ was not declared in this scope; did you mean ‘int8_t’?
  178 |         intmax_t hostnameIdx = hostname.size() - 1;
      |         ^~~~~~~~
      |         int8_t
In file included from /opt/vcpkg/buildtrees/trantor/src/v1.5.11-9f0856a556.clean/trantor/utils/MsgBuffer.cc:15:
/opt/vcpkg/buildtrees/trantor/src/v1.5.11-9f0856a556.clean/trantor/utils/MsgBuffer.h:77:5: error: ‘uint8_t’ does not name a type
   77 |     uint8_t peekInt8() const
      |     ^~~~~~~

knivey avatar Jun 17 '23 00:06 knivey

Getting the same errors on a brand new Fedora 38 install (GCC 13.2)

Archivist062 avatar Aug 04 '23 20:08 Archivist062

d22fee4e.txt

Here is a git patch file, it resolves the issue on Fedora.

Archivist062 avatar Aug 04 '23 20:08 Archivist062