Skip to content

Commit

Permalink
Changes required to fix compilation errors under DevToolset4 on CentO…
Browse files Browse the repository at this point in the history
  • Loading branch information
pianofab committed Aug 24, 2016
1 parent 75a9113 commit f3d1d66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion heaptrack_interpret.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <tuple>
#include <algorithm>
#include <stdio_ext.h>
#include <inttypes.h>
#include <cinttypes>

#include <cxxabi.h>

Expand Down
1 change: 1 addition & 0 deletions libheaptrack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <unordered_set>
#include <mutex>
#include <thread>
#include <cinttypes>

#include <boost/algorithm/string/replace.hpp>

Expand Down
2 changes: 1 addition & 1 deletion tracetree.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class TraceTree
if (it == parent->children.end() || it->instructionPointer != ip) {
index = m_index++;
it = parent->children.insert(it, {ip, index, {}});
fprintf(out, "t %" PRIxPTR " %x\n", reinterpret_cast<uintptr_t>(ip), parent->index);
fprintf(out, "t %p %x\n", ip, parent->index);
}
index = it->index;
parent = &(*it);
Expand Down

0 comments on commit f3d1d66

Please sign in to comment.