View Issue Details

IDProjectCategoryView StatusLast Update
0006511DarkRadiantDesign/Codingpublic27.05.2024 16:28
Reporteres20490446e Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSArch Linux 
Summary0006511: fails to compile: plugins/vcs/Repository.cpp: invalid conversion: ‘const git_commit**’ to ‘git_commit* const*’
Descriptiondarkradiant/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 /home/es20490446e/Documents/Projects/Ikigai/darkradiant/darkradiant/src/darkradiant/plugins/vcs/Reference.h:5,
                 from /home/es20490446e/Documents/Projects/Ikigai/darkradiant/darkradiant/src/darkradiant/plugins/vcs/Repository.h:5,
                 from /home/es20490446e/Documents/Projects/Ikigai/darkradiant/darkradiant/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[]);
      | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
TagsNo tags attached.

Activities

es20490446e

es20490446e

31.03.2024 14:39

reporter   ~0016605

https://gitlab.com/kicad/code/kicad/-/merge_requests/1882/diffs
es20490446e

es20490446e

31.03.2024 14:45

reporter   ~0016606

Working on a patch...
es20490446e

es20490446e

31.03.2024 16:09

reporter   ~0016608

Fix:
https://github.com/codereader/DarkRadiant/pull/39
MirceaKitsune

MirceaKitsune

27.05.2024 16:28

reporter   ~0016711

Eagerly awaiting the fix myself: I can no longer compile and use DarkRadiant over this issue. I use Manjaro Linux which switched to libgit 1.8 recently, this seems to be the cause with DR requiring a fix to support the newer library. Thank you for the pull request and I hope it can be merged ASAP.

Issue History

Date Modified Username Field Change
31.03.2024 14:23 es20490446e New Issue
31.03.2024 14:39 es20490446e Note Added: 0016605
31.03.2024 14:45 es20490446e Note Added: 0016606
31.03.2024 16:09 es20490446e Note Added: 0016608
27.05.2024 16:28 MirceaKitsune Note Added: 0016711