diff options
author | Lioncash <[email protected]> | 2019-03-14 17:34:28 -0400 |
---|---|---|
committer | ReinUsesLisp <[email protected]> | 2019-03-14 19:30:54 -0300 |
commit | 47d85b81a7f3a0ec109b2af1077b93dcf473f87d (patch) | |
tree | 3d083970314d4da36501bcaec7dea3d881fe74e9 /include | |
parent | 1869de6d752a4b332c1ee8265e5f4d13de5efcc7 (diff) | |
download | sirit-47d85b81a7f3a0ec109b2af1077b93dcf473f87d.tar.gz sirit-47d85b81a7f3a0ec109b2af1077b93dcf473f87d.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/sirit/sirit.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |