pgc++ compiling error with templates std

we are trying to compile an existing source code with pgc++ (pgi v12.5) (with the option pgCC instead of pgc++ everything is going well) but we have error problems with the std templates. We take the message e.g.:

“…/…/include/Descp/Base/DesSTLContainer.h”, line 20: error: list is not a
typedef list<DesMesh*> DesMeshContainer;

Has anyone any idea about this kind of errors in pgc++?

I suspect that you need “using namespace std;”
The following small test case compiles for both pgCC and pgc++

using namespace std;
class DesMesh {
int i;
typedef list<DesMesh*> DesMeshContainer;