From: William C. <wc...@us...> - 2017-06-28 20:10:08
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "oprofile". The branch, master has been updated via 9a157214f5b4acc80974895a8490c33fb1df83c0 (commit) from 70b2e12119ad036019336b60637eb9a40573a0a9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9a157214f5b4acc80974895a8490c33fb1df83c0 Author: William Cohen <wc...@re...> Date: Wed Jun 28 16:02:27 2017 -0400 Added delete operators so "make check" works with newer GCC Newer versions of GCC generate errors that the program should define some additional delete operators with an additional parameter when "make check" is used. Added the additional delete operators so GCC is happy with the code. The "make check" will now run to completion instead of stopping and throwing the error below: g++ -DHAVE_CONFIG_H -I. -I../.. -I ../../libutil++ -D SRCDIR="\"/home/wcohen/research/profiling/oprofile/oprofile/libutil++/tests/\"" -W -Wall -fno-common -Werror -g -O2 -MT utility_tests.o -MD -MP -MF .deps/utility_tests.Tpo -c -o utility_tests.o utility_tests.cpp utility_tests.cpp:36:6: error: the program should also define âvoid operator delete(void*, std::size_t)â [-Werror=sized-deallocation] void operator delete(void * p) throw() ^~~~~~~~ utility_tests.cpp:43:6: error: the program should also define âvoid operator delete [](void*, std::size_t)â [-Werror=sized-deallocation] void operator delete[](void * p) throw() ^~~~~~~~ cc1plus: all warnings being treated as errors Signed-off-by: William Cohen <wc...@re...> ----------------------------------------------------------------------- Summary of changes: libutil++/tests/utility_tests.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) hooks/post-receive -- oprofile |