From 23dccd9c541dcae4f35834cab5a203004e17dcc7 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 21 Apr 2020 09:18:59 +0200 Subject: [PATCH] changed: explicitly set visibility on PyRunModule to avoid warnings for the pybind11 members with hidden visibility --- src/opm/parser/eclipse/Python/PyRunModule.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opm/parser/eclipse/Python/PyRunModule.hpp b/src/opm/parser/eclipse/Python/PyRunModule.hpp index 468b8808f..36dd1a817 100644 --- a/src/opm/parser/eclipse/Python/PyRunModule.hpp +++ b/src/opm/parser/eclipse/Python/PyRunModule.hpp @@ -38,7 +38,7 @@ class Schedule; class SummaryState; -class PyRunModule { +class __attribute__((visibility("default"))) PyRunModule { public: PyRunModule(std::shared_ptr python, const std::string& fname);