Skip to content

Instantly share code, notes, and snippets.

@joakim-hove
Created February 6, 2014 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joakim-hove/8840737 to your computer and use it in GitHub Desktop.
Save joakim-hove/8840737 to your computer and use it in GitHub Desktop.
[ 31%] Building CXX object CMakeFiles/opmcore.dir/opm/core/props/BlackoilPropertiesFromDeck.cpp.o
[ 32%] Building CXX object CMakeFiles/opmcore.dir/opm/core/props/IncompPropertiesBasic.cpp.o
[ 32%] Building CXX object CMakeFiles/opmcore.dir/opm/core/props/IncompPropertiesFromDeck.cpp.o
[ 33%] Building CXX object CMakeFiles/opmcore.dir/opm/core/props/pvt/BlackoilPvtProperties.cpp.o
In file included from /usr/lib/gcc/x86_64-redhat-linux6E/4.4.7/../../../../include/c++/4.4.7/memory:83,
from /private/joaho/OPM/opm-core/opm/core/io/eclipse/EclipseGridParser.hpp:43,
from /private/joaho/OPM/opm-core/opm/core/props/pvt/BlackoilPvtProperties.hpp:25,
from /private/joaho/OPM/opm-core/opm/core/props/pvt/BlackoilPvtProperties.cpp:23:
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In constructor 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(const std::__shared_ptr<_Tp1, _Lp>&) [with _Tp1 = const Opm::Deck, _Tp = const Opm::EclipseState, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]':
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:1261: instantiated from 'std::shared_ptr<_Tp>::shared_ptr(const std::shared_ptr<_Tp1>&) [with _Tp1 = const Opm::Deck, _Tp = const Opm::EclipseState]'
/private/joaho/OPM/opm-core/opm/core/props/pvt/BlackoilPvtProperties.cpp:123: instantiated from here
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:651: error: cannot convert 'const Opm::Deck* const' to 'const Opm::EclipseState*' in initialization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment