Closed gerddie closed 3 years ago
Fixes compile errors with g++8:
/usr/include/c++/8/atomic:1299:5: note: candidate: 'template _ITp std::atomic_fetch_and(volatile std::atomic_base<_ITp>, _ITp)' atomic_fetch_and(volatile __atomic_base<_ITp> __a, _ITp i) noexcept ^~~~ /usr/include/c++/8/atomic:1299:5: note: template argument deduction/substitution failed: ../src/percetto.cc:211:63: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') 1 << args.internal_instance_index);
Signed-off-by: Gert Wollny gert.wollny@collabora.com
Fixes compile errors with g++8:
/usr/include/c++/8/atomic:1299:5: note: candidate: 'template _ITp std::atomic_fetch_and(volatile std::atomic_base<_ITp>, _ITp)'
atomic_fetch_and(volatile __atomic_base<_ITp> __a, _ITp i) noexcept
^
~~~/usr/include/c++/8/atomic:1299:5: note: template argument deduction/substitution failed: ../src/percetto.cc:211:63: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') 1 << args.internal_instance_index);Signed-off-by: Gert Wollny gert.wollny@collabora.com