[diwu@atlas8-c01 edem_cfd_adaptor_build]$ scons scons: Reading SConscript files ... Building for lnamd64 scons: done reading SConscript files. scons: Building targets ... g++ -o lnamd64/AdaptorInterface.os -c -std=c99 -Wall -O -fPIC -DDEMLINUX -I/usr/include -I/nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling -I/nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Core -Ilnamd64 -Isrc src/AdaptorInterface.cpp cc1plus: warning: command line option '-std=c99' is valid for C/ObjC but not for C++ [enabled by default] In file included from src/AdaptorInterface.cpp:24:0: /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:644:9: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] bool setLocalNodePositions(int geomId, int numNodes, const int* nodeIndices, const NApiEDEM::C3dPoint* nodePositions, const NApiEDEM::C3dVector* deformationVelocitiesOverride = nullptr); ^ In file included from /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:12:0, from src/AdaptorInterface.cpp:24: /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Core/ApiTypes.h:99:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum class EPluginModelType ^ In file included from /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:12:0, from src/AdaptorInterface.cpp:24: /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Core/ApiTypes.h:120:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum class EPluginExecutionChainPosition ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Core/ApiTypes.h:219:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum class EPluginTransformSpace ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Core/ApiTypes.h:266:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum class EValueAccumulationType ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Core/ApiTypes.h:280:9: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum class EFlags ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Core/ApiTypes.h:308:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] unsigned int flags = 0; ^ In file included from /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:13:0, from src/AdaptorInterface.cpp:24: /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/CouplingUtils.h: In constructor 'NApiEDEM::CGeometrySection::CGeometrySection()': /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/CouplingUtils.h:56:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default] m_sectionName {}, m_triangles {} ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/CouplingUtils.h:56:47: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default] m_sectionName {}, m_triangles {} ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/CouplingUtils.h: At global scope: /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/CouplingUtils.h:90:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum class ELocalOrGlobal { LOCAL, GLOBAL }; ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/CouplingUtils.h:92:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum class ESetOrOffset { DIRECT_SET, OFFSET }; ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/CouplingUtils.h:94:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum class GeomTransformActions : int { NONE, SET, OFFSET }; ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/CouplingUtils.h:94:35: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum class GeomTransformActions : int { NONE, SET, OFFSET }; ^ In file included from src/AdaptorInterface.cpp:24:0: /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:2035:9: error: expected unqualified-id before '[' token [[deprecated("Prefer the geometry ID-based function: setGeometryType(const int geometryId, int geometryType)")]] ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:2047:9: error: expected unqualified-id before '[' token [[deprecated("Prefer the geometry ID-based function: getGeometryType(const int geometryId, int& geometryType)")]] ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:2059:9: error: expected unqualified-id before '[' token [[deprecated("Prefer the alternative, where memory allocation is required on the client side function: getGeometryNames(char**& sectionNames, int& geomSectionCount, bool appendId)")]] ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:2069:9: error: expected unqualified-id before '[' token [[deprecated("Prefer the alternative, more consistently named, function: setGeometryMaterial(const int geometryId, const int materialId)")]] ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:2080:9: error: expected unqualified-id before '[' token [[deprecated("Prefer the alternative version where memory allocation is required on the client side, function materialNames(char**& materialNames, int& count)")]] ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:2092:9: error: expected unqualified-id before '[' token [[deprecated("Prefer the alternative version where memory allocation is required on the client side, function getSimulationName(char*& deck)")]] ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:2108:9: error: expected unqualified-id before '[' token [[deprecated("Prefer the alternative version where memory allocation is required on the client side, function loadGeometryAndReturnIds(...)")]] ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:644:186: error: 'nullptr' was not declared in this scope bool setLocalNodePositions(int geomId, int numNodes, const int* nodeIndices, const NApiEDEM::C3dPoint* nodePositions, const NApiEDEM::C3dVector* deformationVelocitiesOverride = nullptr); ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:657:187: error: 'nullptr' was not declared in this scope bool setGlobalNodePositions(int geomId, int numNodes, const int* nodeIndices, const NApiEDEM::C3dPoint* nodePositions, const NApiEDEM::C3dVector* deformationVelocitiesOverride = nullptr); ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:670:187: error: 'nullptr' was not declared in this scope bool offsetLocalNodePositions(int geomId, int numNodes, const int* nodeIndices, const NApiEDEM::C3dPoint* nodeOffsets, const NApiEDEM::C3dVector* deformationVelocitiesOverride = nullptr); ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:683:188: error: 'nullptr' was not declared in this scope bool offsetGlobalNodePositions(int geomId, int numNodes, const int* nodeIndices, const NApiEDEM::C3dPoint* nodeOffsets, const NApiEDEM::C3dVector* deformationVelocitiesOverride = nullptr); ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:694:151: error: 'nullptr' was not declared in this scope bool setAllLocalNodePositions(int geomID, const NApiEDEM::C3dPoint* nodePositions, const NApiEDEM::C3dVector* deformationVelocitiesOverride = nullptr); ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:705:152: error: 'nullptr' was not declared in this scope bool setAllGlobalNodePositions(int geomID, const NApiEDEM::C3dPoint* nodePositions, const NApiEDEM::C3dVector* deformationVelocitiesOverride = nullptr); ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:717:152: error: 'nullptr' was not declared in this scope bool offsetAllLocalNodePositions(int geomID, const NApiEDEM::C3dPoint* nodeOffsets, const NApiEDEM::C3dVector* deformationVelocitiesOverride = nullptr); ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:728:153: error: 'nullptr' was not declared in this scope bool offsetAllGlobalNodePositions(int geomID, const NApiEDEM::C3dPoint* nodeOffsets, const NApiEDEM::C3dVector* deformationVelocitiesOverride = nullptr); ^ /nfs/app1/common/EDEM/2022.1/altair/EDEM/src/Api/Coupling/IEDEMCoupling.h:1374:124: error: 'nullptr' was not declared in this scope bool exportTimeStepToNewDeck(const char* deckname, const double timestepValue, bool makeActive, const char* path = nullptr); ^ scons: *** [lnamd64/AdaptorInterface.os] Error 1 scons: building terminated because of errors.