Closed GitPaean closed 9 months ago
Reopening this to test the build again.
@GitPaean: The commit 454c12c69ab39c535d1cb3f8415f8ee80a21e5fc causes some problems for me, i.e.
/opm/models/io/baseoutputmodule.hh:426:68: error: request for member ‘data’ in ‘Opm::H2OAirFluidSystem<double, Opm::TabulatedComponent<double, Opm::H2O<double>, true> >::phaseName(i)’, which is of non-class type ‘const char*’
426 | snprintf(name, 512, pattern, FluidSystem::phaseName(i).data())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
Probably this commit is also involved: 0206bfa7dcf4a9360a37eb4bf2d73f903d289
Can you maybe have a look? Thanks! :)
There is one occurrence where we still return const char*: BaseFluidSystem.hpp#L77. Could that be problematic even though jenkins was fine?
There is one occurrence where we still return const char*: BaseFluidSystem.hpp#L77. Could that be problematic even though jenkins was fine?
That function should not be called. not totally sure.
@GitPaean: The commit 454c12c causes some problems for me, i.e.
/opm/models/io/baseoutputmodule.hh:426:68: error: request for member ‘data’ in ‘Opm::H2OAirFluidSystem<double, Opm::TabulatedComponent<double, Opm::H2O<double>, true> >::phaseName(i)’, which is of non-class type ‘const char*’ 426 | snprintf(name, 512, pattern, FluidSystem::phaseName(i).data()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
Probably this commit is also involved: 0206bfa7dcf4a9360a37eb4bf2d73f903d289
Can you maybe have a look? Thanks! :)
Can you tell a little bit more how I can reproduce it? Is your opm-common updated?
@GitPaean: Thanks, yes, my opm-common was not updated properly - sorry!
Closing this briefly to enable the CI system to pick up the force-pushed changes.