Closed slyrus closed 3 years ago
with the latest source I have to do the following to get guitarix to build:
CPPFLAGS=-fpermissive ./waf distclean configure
otherwise I get the following error:
../src/headers/gx_system.h: In instantiation of ‘bool gx_system::atomic_compare_and_exchange(T**, T*, T*) [with T = _jack_session_event]’: ../src/gx_head/engine/gx_jack.cpp:1110:79: required from here /usr/include/glib-2.0/glib/gatomic.h:206:45: error: invalid conversion from ‘volatile void*’ to ‘void*’ [-fpermissive] 206 | __atomic_compare_exchange_n ((atomic), &gapcae_oldval, (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; \ | ^~~~~~~~~~~~~ | | | volatile void* ../src/headers/gx_system.h:135:12: note: in expansion of macro ‘g_atomic_pointer_compare_and_exchange’ 135 | return g_atomic_pointer_compare_and_exchange(reinterpret_cast<void* volatile*>(p), static_cast<void*>(oldv), newv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Same as #63
Indeed. My bad. Will close.
with the latest source I have to do the following to get guitarix to build:
otherwise I get the following error: