View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006307 | The Dark Mod | TDM Installer | public | 09.07.2023 01:35 | 15.07.2023 15:22 |
Reporter | es20490446e | Assigned To | stgatilov | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | ||||
Product Version | SVN | ||||
Target Version | TDM 2.12 | Fixed in Version | TDM 2.12 | ||
Summary | 0006307: tdm_installer: fails to build: missing include: cstdint | ||||
Description | If you try to build tdm_installer, it will complain that: make: In file included from tdm_installer/zipsync/Path.cpp:2: tdm_installer/zipsync/Path.cpp: In function ‘void ZipSync::CheckPath(const std::string&, bool)’: tdm_installer/zipsync/Path.cpp:31:24: error: ‘uint8_t’ was not declared in this scope 31 | ZipSyncAssertF(uint8_t(path[i]) >= 32, "Non-printable character %d in path", int(path[i])); | ^~~~~~~ tdm_installer/zipsync/Logging.h:73:41: note: in definition of macro ‘ZipSyncAssertF’ 73 | #define ZipSyncAssertF(cond, ...) if (!(cond)) g_logger->errorf(lcAssertFailed, __VA_ARGS__); else ((void)0); | ^~~~ tdm_installer/zipsync/Path.cpp:10:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? 9 | #include <sys/stat.h> +++ |+#include <cstdint> 10 | #endif make[2]: *** [zipsync/CMakeFiles/libzipsync.dir/build.make:146: zipsync/CMakeFiles/libzipsync.dir/Path.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:129: zipsync/CMakeFiles/libzipsync.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
09.07.2023 01:35 | es20490446e | New Issue | |
12.07.2023 16:34 | es20490446e | Note Added: 0016033 | |
12.07.2023 17:05 | es20490446e | Note Added: 0016034 | |
12.07.2023 17:05 | es20490446e | File Added: fixed-svn.zip | |
15.07.2023 10:13 | stgatilov | Note Added: 0016035 | |
15.07.2023 10:13 | stgatilov | Assigned To | => stgatilov |
15.07.2023 10:13 | stgatilov | Status | new => resolved |
15.07.2023 10:13 | stgatilov | Resolution | open => fixed |
15.07.2023 10:13 | stgatilov | Fixed in Version | => TDM 2.12 |
15.07.2023 10:13 | stgatilov | Target Version | => TDM 2.12 |
15.07.2023 15:22 | es20490446e | Note Added: 0016040 |