Summary: | gnome-extra/gucharmap-15.1.2 fails to compile: incompatible pointer types | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | NHO <jy6x2b32pie9> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | jy6x2b32pie9 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: | Build log |
Created attachment 889277 [details] Build log With C99 error flags enabled, gucharmap fails to build with error: ../gucharmap-15.1.2/gucharmap/gucharmap-chartable-accessible.c: In function ‘gucharmap_chartable_accessible_get_type’: /usr/include/glib-2.0/glib/gatomic.h:131:5: error: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Werror=incompatible-pointer-types] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’ 262 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~~~~~~~~~~~~~ ../gucharmap-15.1.2/gucharmap/gucharmap-chartable-accessible.c:729:7: note: in expansion of macro ‘g_once_init_enter’ 729 | if (g_once_init_enter (&type__volatile)) | ^~~~~~~~~~~~~~~~~