From: William C. <wc...@us...> - 2019-04-30 15:49:19
|
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 1df581796a3d288e3d14d29c91deb22532573a4e (commit) from 09c52d133178d3d010e3c73bd3734a7acd4b8f00 (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 1df581796a3d288e3d14d29c91deb22532573a4e Author: will schmidt <wil...@vn...> Date: Mon Apr 29 17:18:19 2019 -0500 oprofile - fix compiler warnings seen with newer gcc Hi, This is intended to fix some compiler warnings noted when building oprofile with gcc 9.0.1 * libutil++/tests/utility_tests.cpp: Remove deprecated dynamic exception specifications. (gcc -Werror=deprecated). * libpe_utils/op_pe_utils.cpp: strncpy already copies the size of the string, limit it to the size of the destination. * opjitconf/opjitconv.c: convert sprintf to snprintf and check the return length from the call to ensure we do not overrun our buffer. (gcc -Werror=format-overflow) ----------------------------------------------------------------------- Summary of changes: libpe_utils/op_pe_utils.cpp | 4 ++-- libutil++/tests/utility_tests.cpp | 4 ++-- opjitconv/opjitconv.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) hooks/post-receive -- oprofile |