quell warnings
This commit is contained in:
committed by
Joakim Hove
parent
690cf8c43b
commit
97ad4baa99
@@ -112,6 +112,9 @@ macro (sources_hook)
|
||||
# Append generated sources
|
||||
list(APPEND opm-common_SOURCES ${PROJECT_BINARY_DIR}/ParserKeywords.cpp)
|
||||
endif()
|
||||
set_source_files_properties(src/opm/parser/eclipse/Python/Python.cpp
|
||||
src/opm/parser/eclipse/Python/PythonInterp.cpp
|
||||
PROPERTIES COMPILE_FLAGS -Wno-shadow)
|
||||
endmacro (sources_hook)
|
||||
|
||||
macro (fortran_hook)
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace Opm {
|
||||
|
||||
#ifdef EMBEDDED_PYTHON
|
||||
|
||||
class PythonInterp {
|
||||
class __attribute__ ((visibility("hidden"))) PythonInterp {
|
||||
public:
|
||||
bool exec(const std::string& python_code);
|
||||
explicit operator bool() const { return true; }
|
||||
|
||||
Reference in New Issue
Block a user