Summary: | dev-lang/vala: fails to compile on GCC 14 (incompatible pointer type) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christopher Fore <csfore> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
build.log of vala
casts the function to gchar** |
Created attachment 878668 [details, diff]
casts the function to gchar**
I can't seem to find the upstream source for this C file, the archived bootstrap code doesn't have it and there are no C files in Vala's repository.
*** This bug has been marked as a duplicate of bug 892708 *** |
Created attachment 878667 [details] build.log of vala Reproducible: Always Steps to reproduce: 1. Emerge with GCC 14 valacodecontext.c:2669:33: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'const gchar * const*' {aka 'const char * const*'} [-Wincompatible-pointer-types] 2669 | _tmp4_ = _tmp3_ = g_get_system_data_dirs (); | ^ valacodecontext.c:2700:33: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'const gchar * const*' {aka 'const char * const*'} [-Wincompatible-pointer-types] 2700 | _tmp9_ = _tmp8_ = g_get_system_data_dirs (); | ^ $ gcc-config -l ... [3] x86_64-pc-linux-gnu-13 [4] x86_64-pc-linux-gnu-14 *