Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928454 - gnome-extra/gucharmap-15.1.2 fails to compile: incompatible pointer types
Summary: gnome-extra/gucharmap-15.1.2 fails to compile: incompatible pointer types
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-02 17:37 UTC by jy6x2b32pie9
Modified: 2024-04-03 02:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,83.02 KB, text/x-log)
2024-04-02 17:37 UTC, jy6x2b32pie9
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jy6x2b32pie9 2024-04-02 17:37:15 UTC
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))
      |       ^~~~~~~~~~~~~~~~~