diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cbe99e..abaf091 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Level zero loader changelog +## v1.3.7 +* Fixed build warnings generated when `-Wall` is enabled + ## v1.3.6 * New Tracing Layer APIs to support tracing Level Zero core APIs introduced after the 1.0 Specification. A change of design was needed to allow extension to new APIs without breaking backwards compatibility of original tracing APIs. The original tracing layer APIs will continue to be supported for 1.0 core APIs, but users are encouraged to switch to the new tracing layer APIs. * New Loader API to retrieve version information of loader and layers: `zelLoaderGetVersions` @@ -23,4 +26,4 @@ Note: Level Zero Specification API did not change. * Update loader library to 1.1.0 to indicate addition of tracing layer implementation and associated APIs * Fixed bug when reading windows environment variables set by process before zeInit call. Before variables were not read correctly resulting in layers not being enabled as expected * Fixed bug in loader when using multiple drivers and a driver API returns an error code. Previously loader would incorrectly translate output handles from failed API calls -* Deprecated a tracing implementation layer descriptor enum value due to incorrect name and added a replacement. \ No newline at end of file +* Deprecated a tracing implementation layer descriptor enum value due to incorrect name and added a replacement. diff --git a/samples/zello_world/zello_world.cpp b/samples/zello_world/zello_world.cpp index beff040..d3dd27f 100644 --- a/samples/zello_world/zello_world.cpp +++ b/samples/zello_world/zello_world.cpp @@ -19,7 +19,7 @@ void print_loader_versions(){ versions = new zel_component_version_t[size]; zelLoaderGetVersions(&size, versions); - for(int i = 0; i < size; i++){ + for(size_t i = 0; i < size; i++){ std::cout << "Version " << i << std::endl; std::cout << "Name: " << versions[i].component_name << std::endl; std::cout << "Major: " << versions[i].component_lib_version.major << std::endl; diff --git a/source/drivers/null/CMakeLists.txt b/source/drivers/null/CMakeLists.txt index bb70d25..145345d 100644 --- a/source/drivers/null/CMakeLists.txt +++ b/source/drivers/null/CMakeLists.txt @@ -20,6 +20,6 @@ target_include_directories(${TARGET_NAME} ) if(UNIX) - set(GCC_COVERAGE_COMPILE_FLAGS "-fvisibility=hidden -fvisibility-inlines-hidden") + set(GCC_COVERAGE_COMPILE_FLAGS "-fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-aliasing") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_COVERAGE_COMPILE_FLAGS}") endif() \ No newline at end of file