Does not build with GCC 8

Bug #1776032 reported by Ankur Sinha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lifeograph
Fix Released
Undecided
Unassigned

Bug Description

The current version does not seem to build with GCC8. The downstream bug is here: https://bugzilla.redhat.com/show_bug.cgi?id=1582909

The build error is here:

/builddir/build/BUILD/lifeograph-1.4.2/src/diarydata.hpp:519:29: required from here
/usr/include/c++/8/bits/stl_tree.h:452:21: error: static assertion failed: comparison object must be invocable with two arguments of key type
       static_assert(__is_invocable<_Compare&, const _Key&, const _Key&>{},
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It appears to be a GCC8 change:
https://gcc.gnu.org/gcc-8/porting_to.html

Revision history for this message
Ankur Sinha (sanjay-ankur) wrote :
Revision history for this message
Ahmet Öztürk (dmxe) wrote :

I am not sure if this isa problem in Lifeograph code or in GCC 8. Nevertheless, I've used a workaround to fix building with GCC8. The fix is in trunk.

Changed in lifeograph:
status: New → Confirmed
Ahmet Öztürk (dmxe)
Changed in lifeograph:
status: Confirmed → Fix Committed
Ahmet Öztürk (dmxe)
Changed in lifeograph:
milestone: none → 1.5.0.rc1
Ahmet Öztürk (dmxe)
Changed in lifeograph:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.