[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/04: runtime: turn off spurious SWIG warn
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/04: runtime: turn off spurious SWIG warning about self |
Date: |
Tue, 18 Apr 2017 00:20:31 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit c900eaab783c3fd147941a0c3f53fac4ed35e377
Author: Johnathan Corgan <address@hidden>
Date: Mon Apr 17 07:38:14 2017 -0700
runtime: turn off spurious SWIG warning about self
---
cmake/Modules/GrSwig.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/Modules/GrSwig.cmake b/cmake/Modules/GrSwig.cmake
index 7d1d76c..0530dad 100644
--- a/cmake/Modules/GrSwig.cmake
+++ b/cmake/Modules/GrSwig.cmake
@@ -179,7 +179,7 @@ macro(GR_SWIG_MAKE name)
list(APPEND SWIG_MODULE_${name}_EXTRA_DEPS ${tag_file})
#setup the swig flags with flags and include directories
- set(CMAKE_SWIG_FLAGS -fvirtual -modern -keyword -w511 -module ${name}
${GR_SWIG_FLAGS})
+ set(CMAKE_SWIG_FLAGS -fvirtual -modern -keyword -w511 -w314 -module
${name} ${GR_SWIG_FLAGS})
#set the C++ property on the swig .i file so it builds
set_source_files_properties(${ifiles} PROPERTIES CPLUSPLUS ON)