Fix memset compile warning
Change-Id: If31210f3c6038e56f43ae8631ed1657d1509488e
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
[ROCm/rocm_smi_lib commit: 2048f8978f]
Этот коммит содержится в:
коммит произвёл
Dmitrii Galantsev
родитель
269e0e23f9
Коммит
98f1868290
@@ -23,6 +23,9 @@ set(ROCM_SMI_COMPONENT "lib${ROCM_SMI}")
|
||||
set(ROCM_SMI_TARGET "${ROCM_SMI}64")
|
||||
set(ROCM_SMI_LIB_NAME "lib${ROCM_SMI_TARGET}")
|
||||
|
||||
# Expose project info to IDEs
|
||||
option(CMAKE_EXPORT_COMPILE_COMMANDS "Export compile commands for linters and autocompleters" ON)
|
||||
|
||||
# provide git to utilities
|
||||
find_program (GIT NAMES git)
|
||||
|
||||
@@ -55,9 +58,6 @@ project(${AMD_SMI_LIBS_TARGET})
|
||||
include(GNUInstallDirs)
|
||||
set(COMMON_PROJ_ROOT ${PROJECT_SOURCE_DIR})
|
||||
|
||||
## Verbose output.
|
||||
set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
if (CMAKE_COMPILER_IS_GNUCC AND
|
||||
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.4.0)
|
||||
message("Compiler version is " ${CMAKE_CXX_COMPILER_VERSION})
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <cstdint>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
Ссылка в новой задаче
Block a user