Bug 396240 - fails to build from source on 32-bit linux
Summary: fails to build from source on 32-bit linux
Status: RESOLVED FIXED
Alias: None
Product: Heaptrack
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Milian Wolff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-06 08:52 UTC by Erich Eckner
Modified: 2018-07-07 19:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
log of failing build (63.05 KB, text/plain)
2018-07-06 08:52 UTC, Erich Eckner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Eckner 2018-07-06 08:52:55 UTC
Created attachment 113793 [details]
log of failing build

compilation on archlinux32 fails with:

/build/heaptrack/src/heaptrack-1.1.0/src/util/linewriter.h:170:46: error: call of overloaded ‘clz(long long unsigned int&)’ is ambiguous
         const unsigned zeroBits = value ? clz(value) : numBits;
                                           ~~~^~~~~~~
/build/heaptrack/src/heaptrack-1.1.0/src/util/linewriter.h:151:28: note: candidate: ‘static unsigned int LineWriter::clz(unsigned int)’
     inline static unsigned clz(unsigned V)
                            ^~~
/build/heaptrack/src/heaptrack-1.1.0/src/util/linewriter.h:156:28: note: candidate: ‘static unsigned int LineWriter::clz(long unsigned int)’
     inline static unsigned clz(long unsigned V)
                            ^~~

version 1.0.0 was built successfully, though
Comment 1 Milian Wolff 2018-07-07 19:29:59 UTC
this was fixed already in the 1.1 and master branches