Cannot compile Geary

I am having trouble compiling Geary. I am using Gnome Builder as IDE. The error I get is related to glib:
/usr/include/glib-2.0/glib/gatomic.h:113:5: error: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Werror=incompatible-pointer-types]

Has anybody encountered this problem?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.