From 6567a4e048cface042c36e41c55350df2a08ab00 Mon Sep 17 00:00:00 2001 From: srajum Date: Wed, 4 Jan 2023 18:55:14 +0530 Subject: [PATCH] nvgpu: gpu: Enable strict warnings check flag - Enable strict warnings check flag for nvgpu unit tests Bug 3920734 Change-Id: I3c136e6486e953abadfddf369334a8ea5b659d28 Signed-off-by: srajum Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2837289 Reviewed-by: svcacv Reviewed-by: Rajesh Devaraj Reviewed-by: Vaibhav Kachore GVS: Gerrit_Virtual_Submit --- userspace/units/Makefile.units.common.tmk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/userspace/units/Makefile.units.common.tmk b/userspace/units/Makefile.units.common.tmk index 3bc593fa8..64a16fe86 100644 --- a/userspace/units/Makefile.units.common.tmk +++ b/userspace/units/Makefile.units.common.tmk @@ -1,6 +1,6 @@ ################################### tell Emacs this is a -*- makefile-gmake -*- # -# Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -27,6 +27,8 @@ ifdef NV_COMPONENT_FLAG_SHARED_LIBRARY_SECTION include $(NV_BUILD_START_COMPONENT) +NV_COMPONENT_STRICT_WARNINGS_qnx_64 := 1 + NV_COMPONENT_NAME := $(NVGPU_UNIT_NAME) NV_COMPONENT_OWN_INTERFACE_DIR := .