Bug 394613

Summary: Fails to build for 32-bit platforms
Product: [Applications] Heaptrack Reporter: Fabian Vogt <fabian>
Component: generalAssignee: Milian Wolff <mail>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: NOR    
Version: 1.1.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Fabian Vogt 2018-05-23 13:56:58 UTC
[  136s] /home/abuild/rpmbuild/BUILD/heaptrack-1.1.0/src/util/linewriter.h:170:46: error: call of overloaded 'clz(long long unsigned int&)' is ambiguous
[  136s]          const unsigned zeroBits = value ? clz(value) : numBits;
[  136s]                                            ~~~^~~~~~~
[  136s] /home/abuild/rpmbuild/BUILD/heaptrack-1.1.0/src/util/linewriter.h:151:28: note: candidate: static unsigned int LineWriter::clz(unsigned int)
[  136s]      inline static unsigned clz(unsigned V)
[  136s]                             ^~~
[  136s] /home/abuild/rpmbuild/BUILD/heaptrack-1.1.0/src/util/linewriter.h:156:28: note: candidate: static unsigned int LineWriter::clz(long unsigned int)
[  136s]      inline static unsigned clz(long unsigned V)
Comment 1 Fabian Vogt 2018-05-23 15:23:30 UTC

*** This bug has been marked as a duplicate of bug 394330 ***