This PR fixes issue #193 and makes libagent.so gcc-4.4 compatible again. I broke compatibility previously when I was developing concurrent map, since non-primitive types appeared in template arguments of std::atomic and it doesn't work with cstdatomic in g++ 4.4.
Also nullptr will be replaced with NULL in old gcc's, which is sufficient for honest-profiler (not 100% correct though).
Master passes both java & native tests for both 4.4 and 4.8 under Linux.
Hi,
This PR fixes issue #193 and makes
libagent.so
gcc-4.4 compatible again. I broke compatibility previously when I was developing concurrent map, since non-primitive types appeared in template arguments ofstd::atomic
and it doesn't work withcstdatomic
in g++ 4.4.Also
nullptr
will be replaced withNULL
in old gcc's, which is sufficient for honest-profiler (not 100% correct though).Master passes both java & native tests for both 4.4 and 4.8 under Linux.