View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006534 | DarkRadiant | Compilation/Build | public | 10.05.2024 21:20 | 10.05.2024 21:20 |
Reporter | DavyJones | Assigned To | |||
Priority | normal | Severity | normal | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Linux | ||||
Product Version | 3.9.0 | ||||
Summary | 0006534: invalid conversion from ‘const git_commit**’ to ‘git_commit* const*’ | ||||
Description | Arch Linux gcc version 14.1.1 20240507 On current version (after git pull) I got compiling error: [ 15%] Building CXX object plugins/vcs/CMakeFiles/vcs.dir/Repository.cpp.o /usr/local/src/DarkRadiant/plugins/vcs/Repository.cpp: In member function ‘void vcs::git::Repository::createCommit(const vcs::git::CommitMetadata&, const vcs::git::Reference::Ptr&)’: /usr/local/src/DarkRadiant/plugins/vcs/Repository.cpp:370:49: error: invalid conversion from ‘const git_commit**’ to ‘git_commit* const*’ [-fpermissive] 370 | parentCommits.size(), parentCommits.data()); | ~~~~~~~~~~~~~~~~~~^~ | | | const git_commit** In file included from /usr/include/git2/repository.h:14, from /usr/include/git2/annotated_commit.h:11, from /usr/include/git2.h:11, from /usr/local/src/DarkRadiant/plugins/vcs/Reference.h:5, from /usr/local/src/DarkRadiant/plugins/vcs/Repository.h:5, from /usr/local/src/DarkRadiant/plugins/vcs/Repository.cpp:1: /usr/include/git2/commit.h:369:28: note: initializing argument 10 of ‘int git_commit_create(git_oid*, git_repository*, const char*, const git_signature*, const git_signature*, const char*, const char*, const git_tree*, size_t, git_commit* const*)’ 369 | git_commit * const parents[]); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: *** [plugins/vcs/CMakeFiles/vcs.dir/build.make:104: plugins/vcs/CMakeFiles/vcs.dir/Repository.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1350: plugins/vcs/CMakeFiles/vcs.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 | ||||
Steps To Reproduce | cmake . make | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
10.05.2024 21:20 | DavyJones | New Issue |