From 47d85b81a7f3a0ec109b2af1077b93dcf473f87d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 14 Mar 2019 17:34:28 -0400 Subject: CMakeLists: Apply compilation flags to the sirit target Previously this wasn't utilizing any of the compiler flags, meaning it wasn't applying any of the specified warnings. Since applying the warnings to the target, this uncovered a few warning cases, such as shadowing class variables on MSVC, etc, which have been fixed. --- include/sirit/sirit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h index 0a1af97..eee5cff 100644 --- a/include/sirit/sirit.h +++ b/include/sirit/sirit.h @@ -46,7 +46,7 @@ public: void AddCapability(spv::Capability capability); /// Sets module memory model. - void SetMemoryModel(spv::AddressingModel addressing_model, spv::MemoryModel memory_model); + void SetMemoryModel(spv::AddressingModel addressing_model_, spv::MemoryModel memory_model_); /// Adds an entry point. void AddEntryPoint(spv::ExecutionModel execution_model, Id entry_point, std::string name, -- cgit v1.2.3