[llvm-commits] Compile error in lib/Support/Timer.cpp introduced by r73978
Eric Rannaud
eric.rannaud at gmail.com
Tue Jun 23 11:42:11 PDT 2009
r73978 changes the type of Timer::PeakMemBase and Timer::PeakMem to
signed int64_t
in lib/Support/Timer.cpp:
(*I)->PeakMem = std::max((*I)->PeakMem, MemUsed-(*I)->PeakMemBase);
gives:
Timer.cpp: In static member function âstatic void
llvm::Timer::addPeakMemoryMeasurement()â:
Timer.cpp:189: error: no matching function for call to âmax(int64_t&,
long unsigned int)â
as MemUsed is a size_t.
Thanks,
Eric.
More information about the llvm-commits
mailing list