debian:/home/zhangling/Gurux.DLMS.cpp-master/development# make
Compiled src/GXAdjacentCell.cpp successfully!
Compiled src/GXAPDU.cpp successfully!
Compiled src/GXApplicationContextName.cpp successfully!
Compiled src/GXAuthenticationMechanismName.cpp successfully!
Compiled src/GXBytebuffer.cpp successfully!
Compiled src/GXCipher.cpp successfully!
Compiled src/GXDateTime.cpp successfully!
Compiled src/GXDLMSActionItem.cpp successfully!
src/GXDLMSActionSchedule.cpp: In constructor ‘CGXDLMSActionSchedule::CGXDLMSActionSchedule()’:
src/GXDLMSActionSchedule.cpp:44: error: type ‘CGXDLMSActionSchedule’ is not a direct base of ‘CGXDLMSActionSchedule’
src/GXDLMSActionSchedule.cpp: In constructor ‘CGXDLMSActionSchedule::CGXDLMSActionSchedule(std::string)’:
src/GXDLMSActionSchedule.cpp:49: error: type ‘CGXDLMSActionSchedule’ is not a direct base of ‘CGXDLMSActionSchedule’
make: *** [obj/GXDLMSActionSchedule.o] 错误 1
debian:/home/zhangling/Gurux.DLMS.cpp-master/development#
gcc version should update to bigger than Ver4.7?
I compile the DLMS,and meet a promblem:
debian:/home/zhangling/Gurux.DLMS.cpp-master/development# make
Compiled src/GXAdjacentCell.cpp successfully!
Compiled src/GXAPDU.cpp successfully!
Compiled src/GXApplicationContextName.cpp successfully!
Compiled src/GXAuthenticationMechanismName.cpp successfully!
Compiled src/GXBytebuffer.cpp successfully!
Compiled src/GXCipher.cpp successfully!
Compiled src/GXDateTime.cpp successfully!
Compiled src/GXDLMSActionItem.cpp successfully!
src/GXDLMSActionSchedule.cpp: In constructor ‘CGXDLMSActionSchedule::CGXDLMSActionSchedule()’:
src/GXDLMSActionSchedule.cpp:44: error: type ‘CGXDLMSActionSchedule’ is not a direct base of ‘CGXDLMSActionSchedule’
src/GXDLMSActionSchedule.cpp: In constructor ‘CGXDLMSActionSchedule::CGXDLMSActionSchedule(std::string)’:
src/GXDLMSActionSchedule.cpp:49: error: type ‘CGXDLMSActionSchedule’ is not a direct base of ‘CGXDLMSActionSchedule’
make: *** [obj/GXDLMSActionSchedule.o] 错误 1
debian:/home/zhangling/Gurux.DLMS.cpp-master/development#
Does the mistake related to the gcc version?
gcc version should update to bigger than Ver4.7?
Hi,
Our versions are newer. Let me know if you can't update to the newer version and we'll fix those few issues.
Errors are coming because your compiler doesn't support delegating constructors.
https://secure.wikimedia.org/wikipedia/en/wiki/C++11#Object_constructio…
BR,
Mikko
Thank you very much, we
Thank you very much, we choose to modify it to fit our compiler instead of upgrading gcc version.